Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Dec 2003 05:08:55 -0800 (PST)
From:      Bruce Evans <bde@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sbin/fsck fsutil.c fsutil.h src/sbin/fsck_msdosfs main.c
Message-ID:  <200312271308.hBRD8tCf082537@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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