cvs commit: src/sbin/fsck fsutil.h

Bruce Evans bde at FreeBSD.org
Sat Dec 27 05:54:04 PST 2003


bde         2003/12/27 05:54:03 PST

  FreeBSD src repository

  Modified files:
    sbin/fsck            fsutil.h 
  Log:
  Use __printflike() and __dead2 instead of hard-coded gccisms.
  
  Declare perror().  We define and use a home made version of perror(3)
  that can't simply be removed (although it has the same interface as
  perror(3)) since it is very different (it prints on stdout, doesn't
  always print the program name, and sometimes exits).  Declare it to
  get a reminder of this brokenness when WARNS is increased enough.
  
  Revision  Changes    Path
  1.8       +4 -6      src/sbin/fsck/fsutil.h


More information about the cvs-all mailing list