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