diff --git a/sbin/fsck_ffs/main.c b/sbin/fsck_ffs/main.c index 90eb745ddabc..acf26d9fc558 100644 --- a/sbin/fsck_ffs/main.c +++ b/sbin/fsck_ffs/main.c @@ -314,8 +314,8 @@ checkfilesys(char *filesys) exit(0); exit(4); } else { - pfatal( - "UNEXPECTED INCONSISTENCY, CANNOT RUN FAST FSCK\n"); + pfatal("UNEXPECTED INCONSISTENCY, CANNOT RUN " + "FAST FSCK\n"); } } close(fsreadfd); @@ -329,13 +329,14 @@ checkfilesys(char *filesys) * if not found, clear bkgrdflag and proceed with normal fsck */ if (bkgrdflag) { + /* Get the mount point information of the file system */ if (mntp == NULL) { bkgrdflag = 0; pfatal("NOT MOUNTED, CANNOT RUN IN BACKGROUND\n"); } else if ((mntp->f_flags & MNT_SOFTDEP) == 0) { bkgrdflag = 0; - pfatal( - "NOT USING SOFT UPDATES, CANNOT RUN IN BACKGROUND\n"); + pfatal("NOT USING SOFT UPDATES, CANNOT RUN IN " + "BACKGROUND\n"); } else if ((mntp->f_flags & MNT_RDONLY) != 0) { bkgrdflag = 0; pfatal("MOUNTED READ-ONLY, CANNOT RUN IN BACKGROUND\n"); @@ -529,10 +530,10 @@ checkfilesys(char *filesys) */ if (duplist) { if (preen || usedsoftdep) - pfatal("INTERNAL ERROR: dups with %s%s%s", + pfatal("INTERNAL ERROR: DUPS WITH %s%s%s", preen ? "-p" : "", - (preen && usedsoftdep) ? " and " : "", - usedsoftdep ? "softupdates" : ""); + (preen && usedsoftdep) ? " AND " : "", + usedsoftdep ? "SOFTUPDATES" : ""); printf("** Phase 1b - Rescan For More DUPS\n"); pass1b(); IOstats("Pass1b");