aboutsummaryrefslogtreecommitdiff
path: root/e2fsprogs/fsck.c
diff options
context:
space:
mode:
Diffstat (limited to 'e2fsprogs/fsck.c')
-rw-r--r--e2fsprogs/fsck.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/e2fsprogs/fsck.c b/e2fsprogs/fsck.c
index 627d2be31..987d97528 100644
--- a/e2fsprogs/fsck.c
+++ b/e2fsprogs/fsck.c
@@ -345,7 +345,7 @@ static void load_fs_info(const char *filename)
345 345
346 // Loop through entries 346 // Loop through entries
347 while (getmntent_r(fstab, &mte, buf, sizeof(buf))) { 347 while (getmntent_r(fstab, &mte, buf, sizeof(buf))) {
348 //bb_info_msg("CREATE[%s][%s][%s][%s][%d]", mte.mnt_fsname, mte.mnt_dir, 348 //bb_error_msg("CREATE[%s][%s][%s][%s][%d]", mte.mnt_fsname, mte.mnt_dir,
349 // mte.mnt_type, mte.mnt_opts, 349 // mte.mnt_type, mte.mnt_opts,
350 // mte.mnt_passno); 350 // mte.mnt_passno);
351 create_fs_device(mte.mnt_fsname, mte.mnt_dir, 351 create_fs_device(mte.mnt_fsname, mte.mnt_dir,
@@ -602,7 +602,7 @@ static void fsck_device(struct fs_info *fs /*, int interactive */)
602 if (strcmp(fs->type, "auto") != 0) { 602 if (strcmp(fs->type, "auto") != 0) {
603 type = fs->type; 603 type = fs->type;
604 if (G.verbose > 2) 604 if (G.verbose > 2)
605 bb_info_msg("using filesystem type '%s' %s", 605 printf("using filesystem type '%s' %s\n",
606 type, "from fstab"); 606 type, "from fstab");
607 } else if (G.fstype 607 } else if (G.fstype
608 && (G.fstype[0] != 'n' || G.fstype[1] != 'o') /* != "no" */ 608 && (G.fstype[0] != 'n' || G.fstype[1] != 'o') /* != "no" */
@@ -612,12 +612,12 @@ static void fsck_device(struct fs_info *fs /*, int interactive */)
612 ) { 612 ) {
613 type = G.fstype; 613 type = G.fstype;
614 if (G.verbose > 2) 614 if (G.verbose > 2)
615 bb_info_msg("using filesystem type '%s' %s", 615 printf("using filesystem type '%s' %s\n",
616 type, "from -t"); 616 type, "from -t");
617 } else { 617 } else {
618 type = "auto"; 618 type = "auto";
619 if (G.verbose > 2) 619 if (G.verbose > 2)
620 bb_info_msg("using filesystem type '%s' %s", 620 printf("using filesystem type '%s' %s\n",
621 type, "(default)"); 621 type, "(default)");
622 } 622 }
623 623