modprobe: emit "can't open 'modules.dep': (errno)" instead of "module not found"
[platform/upstream/busybox.git] / util-linux / umount.c
index 0662cea..901c909 100644 (file)
@@ -69,7 +69,7 @@ int umount_main(int argc UNUSED_PARAM, char **argv)
        fp = setmntent(bb_path_mtab_file, "r");
        if (!fp) {
                if (opt & OPT_ALL)
-                       bb_error_msg_and_die("can't open %s", bb_path_mtab_file);
+                       bb_error_msg_and_die("can't open '%s'", bb_path_mtab_file);
        } else {
                while (getmntent_r(fp, &me, path, PATH_MAX)) {
                        /* Match fstype if passed */