0b5e55
diff -up util-linux-2.23.2/disk-utils/fsck.c.kzak util-linux-2.23.2/disk-utils/fsck.c
0b5e55
--- util-linux-2.23.2/disk-utils/fsck.c.kzak	2013-06-13 09:46:10.377650254 +0200
0b5e55
+++ util-linux-2.23.2/disk-utils/fsck.c	2014-03-25 12:46:59.525939425 +0100
0b5e55
@@ -437,10 +437,14 @@ static void load_fs_info(void)
0b5e55
 	if (mnt_table_parse_fstab(fstab, path)) {
0b5e55
 		if (!path)
0b5e55
 			path = mnt_get_fstab_path();
0b5e55
-		if (errno)
0b5e55
-			warn(_("%s: failed to parse fstab"), path);
0b5e55
-		else
0b5e55
-			warnx(_("%s: failed to parse fstab"), path);
0b5e55
+
0b5e55
+		/* don't print error when there is no fstab at all */
0b5e55
+		if (access(path, F_OK) == 0) {
0b5e55
+			if (errno)
0b5e55
+				warn(_("%s: failed to parse fstab"), path);
0b5e55
+			else
0b5e55
+				warnx(_("%s: failed to parse fstab"), path);
0b5e55
+		}
0b5e55
 	}
0b5e55
 }
0b5e55