- fix spelling

This commit is contained in:
Bernhard Reutner-Fischer
2008-07-21 13:46:54 +00:00
parent e1e5174942
commit a53de7f7c2
9 changed files with 41 additions and 41 deletions

View File

@ -83,9 +83,9 @@ struct partition {
unsigned char size4[4]; /* nr of sectors in partition */
} PACKED;
static const char unable_to_open[] ALIGN1 = "cannot open %s";
static const char unable_to_read[] ALIGN1 = "cannot read from %s";
static const char unable_to_seek[] ALIGN1 = "cannot seek on %s";
static const char unable_to_open[] ALIGN1 = "can't open %s";
static const char unable_to_read[] ALIGN1 = "can't read from %s";
static const char unable_to_seek[] ALIGN1 = "can't seek on %s";
enum label_type {
LABEL_DOS, LABEL_SUN, LABEL_SGI, LABEL_AIX, LABEL_OSF

View 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("cannot 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 */
@ -132,13 +132,13 @@ int umount_main(int argc UNUSED_PARAM, char **argv)
const char *msg = "%s busy - remounted read-only";
curstat = mount(m->device, zapit, NULL, MS_REMOUNT|MS_RDONLY, NULL);
if (curstat) {
msg = "cannot remount %s read-only";
msg = "can't remount %s read-only";
status = EXIT_FAILURE;
}
bb_error_msg(msg, m->device);
} else {
status = EXIT_FAILURE;
bb_perror_msg("cannot %sumount %s", (doForce ? "forcibly " : ""), zapit);
bb_perror_msg("can't %sumount %s", (doForce ? "forcibly " : ""), zapit);
}
} else {
// De-allocate the loop device. This ioctl should be ignored on