Whitespace and capitalization cleanups.

No changes intended.

Sponsored by: Netflix
This commit is contained in:
Kirk McKusick 2022-01-05 16:32:12 -08:00
parent ac413189f5
commit c82df0a0bf

View File

@ -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");