[BACK]Return to fsutil.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sbin / fsck

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sbin/fsck/fsutil.c between version 1.16 and 1.16.16.1

version 1.16, 2006/08/26 18:14:28 version 1.16.16.1, 2008/03/24 07:14:48
Line 48  __RCSID("$NetBSD$");
Line 48  __RCSID("$NetBSD$");
 #include <sys/stat.h>  #include <sys/stat.h>
   
 #include "fsutil.h"  #include "fsutil.h"
   #include "exitvalues.h"
   
 static const char *dev = NULL;  static const char *dev = NULL;
 static int hot = 0;  static int hot = 0;
Line 86  errexit(const char *fmt, ...)
Line 87  errexit(const char *fmt, ...)
         va_start(ap, fmt);          va_start(ap, fmt);
         (void) vfprintf(stderr, fmt, ap);          (void) vfprintf(stderr, fmt, ap);
         va_end(ap);          va_end(ap);
         exit(8);          (void)fprintf(stderr, "\n");
           exit(FSCK_EXIT_CHECK_FAILED);
 }  }
   
 void  void
Line 114  vmsg(int fatal, const char *fmt, va_list
Line 116  vmsg(int fatal, const char *fmt, va_list
                 (void) printf(                  (void) printf(
                     "%s: UNEXPECTED INCONSISTENCY; RUN %s MANUALLY.\n",                      "%s: UNEXPECTED INCONSISTENCY; RUN %s MANUALLY.\n",
                     dev, getprogname());                      dev, getprogname());
                 exit(8);                  exit(FSCK_EXIT_CHECK_FAILED);
         }          }
 }  }
   
Line 158  panic(const char *fmt, ...)
Line 160  panic(const char *fmt, ...)
         va_start(ap, fmt);          va_start(ap, fmt);
         vmsg(1, fmt, ap);          vmsg(1, fmt, ap);
         va_end(ap);          va_end(ap);
         exit(8);          exit(FSCK_EXIT_CHECK_FAILED);
 }  }
   
 const char *  const char *

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.16.16.1

CVSweb <webmaster@jp.NetBSD.org>