diff options
-rw-r--r-- | meta/recipes-core/busybox/busybox-1.20.2/fail_on_no_media.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/busybox/busybox-1.20.2/fail_on_no_media.patch b/meta/recipes-core/busybox/busybox-1.20.2/fail_on_no_media.patch index aa2cd25266..6745f169fe 100644 --- a/meta/recipes-core/busybox/busybox-1.20.2/fail_on_no_media.patch +++ b/meta/recipes-core/busybox/busybox-1.20.2/fail_on_no_media.patch | |||
@@ -23,7 +23,7 @@ Index: busybox-1.20.2/util-linux/mount.c | |||
23 | + * Break if there is no media, no point retrying for all | 23 | + * Break if there is no media, no point retrying for all |
24 | + * fs types since there is no media available | 24 | + * fs types since there is no media available |
25 | + */ | 25 | + */ |
26 | + if ((rc == -1) && (errno == ENOMEDIUM || errno == ENODEV)) { | 26 | + if (rc == -1 && errno == ENOMEDIUM) { |
27 | + bb_perror_msg_and_die("mounting %s on %s failed", mp->mnt_fsname, mp->mnt_dir); | 27 | + bb_perror_msg_and_die("mounting %s on %s failed", mp->mnt_fsname, mp->mnt_dir); |
28 | + } | 28 | + } |
29 | if (!rc || (vfsflags & MS_RDONLY) || (errno != EACCES && errno != EROFS)) | 29 | if (!rc || (vfsflags & MS_RDONLY) || (errno != EACCES && errno != EROFS)) |