cvs commit: src/sbin/fsck fsutil.c fsutil.h src/sbin/fsck_msdosfs main.c

Bruce Evans bde at FreeBSD.org
Sat Dec 27 05:08:56 PST 2003


bde         2003/12/27 05:08:55 PST

  FreeBSD src repository

  Modified files:
    sbin/fsck            fsutil.c fsutil.h 
    sbin/fsck_msdosfs    main.c 
  Log:
  fsck_msdosfs/main.c:
  - Don't use errexit() to (mis)implement usage().  Using errexit() just
    gave the bogus exit code 8.
  - Fixed 3 other style bugs in usage().
  
  fsck/fsutil.[ch]:
  - Garbage-collected errexit().  It is essentially just one of NetBSD's
    fsck_ext2fs error printing functions, but we don't have fsck_ext2fs
    and the function is unsuitable for use there too (since pfatal() is
    also used and it printf to a different stream).
  
  Revision  Changes    Path
  1.6       +0 -12     src/sbin/fsck/fsutil.c
  1.6       +0 -2      src/sbin/fsck/fsutil.h
  1.12      +4 -2      src/sbin/fsck_msdosfs/main.c


More information about the cvs-src mailing list