aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-07-21 13:46:54 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-07-21 13:46:54 +0000
commita53de7f7c2cd3ac46b26642aafb1a573a096a80d (patch)
tree76b95b7a441628b3495f744bec5d862b5250f562 /util-linux
parente1e5174942d4624e3abb8b98fe404afdbb4edad1 (diff)
downloadbusybox-w32-a53de7f7c2cd3ac46b26642aafb1a573a096a80d.tar.gz
busybox-w32-a53de7f7c2cd3ac46b26642aafb1a573a096a80d.tar.bz2
busybox-w32-a53de7f7c2cd3ac46b26642aafb1a573a096a80d.zip
- fix spelling
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/fdisk.c6
-rw-r--r--util-linux/umount.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c
index eeef18e2f..702567a71 100644
--- a/util-linux/fdisk.c
+++ b/util-linux/fdisk.c
@@ -83,9 +83,9 @@ struct partition {
83 unsigned char size4[4]; /* nr of sectors in partition */ 83 unsigned char size4[4]; /* nr of sectors in partition */
84} PACKED; 84} PACKED;
85 85
86static const char unable_to_open[] ALIGN1 = "cannot open %s"; 86static const char unable_to_open[] ALIGN1 = "can't open %s";
87static const char unable_to_read[] ALIGN1 = "cannot read from %s"; 87static const char unable_to_read[] ALIGN1 = "can't read from %s";
88static const char unable_to_seek[] ALIGN1 = "cannot seek on %s"; 88static const char unable_to_seek[] ALIGN1 = "can't seek on %s";
89 89
90enum label_type { 90enum label_type {
91 LABEL_DOS, LABEL_SUN, LABEL_SGI, LABEL_AIX, LABEL_OSF 91 LABEL_DOS, LABEL_SUN, LABEL_SGI, LABEL_AIX, LABEL_OSF
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