yar         2007-11-28 07:54:43 UTC

  FreeBSD src repository

  Modified files:
    sbin/newfs           newfs.c 
  Log:
  - Pay attention to the fact that ioctl(2) is only known to
  return -1 on error while any other return value from it can
  indicate success.  (See RETURN VALUE in our ioctl(2) manpage
  and the POSIX spec.)
  
  - Avoid assumptions about the state of the data buffer after
  ioctl(2) failure.
  
  Revision  Changes    Path
  1.84      +5 -4      src/sbin/newfs/newfs.c
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to