Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 May 2003 11:58:17 -0700 (PDT)
From:      Ian Dowse <iedowse@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sbin/newfs mkfs.c
Message-ID:  <200305101858.h4AIwHQm091861@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@univie.ac.at>
  Reviewed by:    jmallett
  Approved by:    re (bmah)
  
  Revision  Changes    Path
  1.76      +2 -1      src/sbin/newfs/mkfs.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305101858.h4AIwHQm091861>