cvs commit: src/sbin/newfs mkfs.c

Ian Dowse iedowse at FreeBSD.org
Sat May 10 11:58:19 PDT 2003


iedowse     2003/05/10 11:58:17 PDT

  FreeBSD src repository

  Modified files:
    sbin/newfs           mkfs.c 
  Log:
  Put back the error checking in wtfs() that was lost when newfs was
  changed to use libufs in revision 1.71. Without this, any write
  failures in newfs were silently ignored.
  
  Note that this will display a meaningless errno string in the case
  of a short write as opposed to a write error, since bwrite()'s
  return value does not allow the caller to determine if errno is
  valid.
  
  Reported by:    Lukas Ertl <l.ertl at univie.ac.at>
  Reviewed by:    jmallett
  Approved by:    re (bmah)
  
  Revision  Changes    Path
  1.76      +2 -1      src/sbin/newfs/mkfs.c


More information about the cvs-all mailing list