SCCS-vsn: sbin/fsck/main.c 2.9
-static char sccsid[] = "@(#)main.c 2.8 (Berkeley) %G%";
+static char sccsid[] = "@(#)main.c 2.9 (Berkeley) %G%";
#include <stdio.h>
#include <ctype.h>
#include <stdio.h>
#include <ctype.h>
- sync();
- if (dfile.mod && preen == 0)
- printf("\n***** FILE SYSTEM WAS MODIFIED *****\n");
free(blockmap);
free(freemap);
free(statemap);
free(lncntp);
free(blockmap);
free(freemap);
free(statemap);
free(lncntp);
+ if (dfile.mod)
+ if (preen)
+ printf("\n***** FILE SYSTEM WAS MODIFIED *****\n");
+ else if (hotroot) {
+ printf("\n***** BOOT UNIX (NO SYNC!) *****\n");
+ exit(4);
+ }
+ sync();