aboutsummaryrefslogtreecommitdiff
path: root/util-linux/umount.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/umount.c')
-rw-r--r--util-linux/umount.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/util-linux/umount.c b/util-linux/umount.c
index 00f125334..0662cea1b 100644
--- a/util-linux/umount.c
+++ b/util-linux/umount.c
@@ -69,7 +69,7 @@ int umount_main(int argc UNUSED_PARAM, char **argv)
69 fp = setmntent(bb_path_mtab_file, "r"); 69 fp = setmntent(bb_path_mtab_file, "r");
70 if (!fp) { 70 if (!fp) {
71 if (opt & OPT_ALL) 71 if (opt & OPT_ALL)
72 bb_error_msg_and_die("cannot open %s", bb_path_mtab_file); 72 bb_error_msg_and_die("can't open %s", bb_path_mtab_file);
73 } else { 73 } else {
74 while (getmntent_r(fp, &me, path, PATH_MAX)) { 74 while (getmntent_r(fp, &me, path, PATH_MAX)) {
75 /* Match fstype if passed */ 75 /* Match fstype if passed */
@@ -132,13 +132,13 @@ int umount_main(int argc UNUSED_PARAM, char **argv)
132 const char *msg = "%s busy - remounted read-only"; 132 const char *msg = "%s busy - remounted read-only";
133 curstat = mount(m->device, zapit, NULL, MS_REMOUNT|MS_RDONLY, NULL); 133 curstat = mount(m->device, zapit, NULL, MS_REMOUNT|MS_RDONLY, NULL);
134 if (curstat) { 134 if (curstat) {
135 msg = "cannot remount %s read-only"; 135 msg = "can't remount %s read-only";
136 status = EXIT_FAILURE; 136 status = EXIT_FAILURE;
137 } 137 }
138 bb_error_msg(msg, m->device); 138 bb_error_msg(msg, m->device);
139 } else { 139 } else {
140 status = EXIT_FAILURE; 140 status = EXIT_FAILURE;
141 bb_perror_msg("cannot %sumount %s", (doForce ? "forcibly " : ""), zapit); 141 bb_perror_msg("can't %sumount %s", (doForce ? "forcibly " : ""), zapit);
142 } 142 }
143 } else { 143 } else {
144 // De-allocate the loop device. This ioctl should be ignored on 144 // De-allocate the loop device. This ioctl should be ignored on