diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-03-23 16:25:17 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-03-23 16:25:17 +0100 |
commit | 651a2697f725f10c1ebdb8947925b5a9c6cf4fe2 (patch) | |
tree | e2373083cc4bf57af9c114c311ff089b84835f0f | |
parent | 37a658c4c86fa5ad9fb6f76cba2fca80f4249036 (diff) | |
download | busybox-w32-651a2697f725f10c1ebdb8947925b5a9c6cf4fe2.tar.gz busybox-w32-651a2697f725f10c1ebdb8947925b5a9c6cf4fe2.tar.bz2 busybox-w32-651a2697f725f10c1ebdb8947925b5a9c6cf4fe2.zip |
*: merge some common strings
text data bss dec hexfilename
838650 8009 0 846659 ceb43busybox_old
838519 8009 0 846528 ceac0busybox_unstripped
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | coreutils/chmod.c | 2 | ||||
-rw-r--r-- | coreutils/install.c | 2 | ||||
-rw-r--r-- | e2fsprogs/fsck.c | 2 | ||||
-rw-r--r-- | e2fsprogs/old_e2fsprogs/util.c | 2 | ||||
-rw-r--r-- | findutils/find.c | 2 | ||||
-rw-r--r-- | libbb/run_shell.c | 2 | ||||
-rw-r--r-- | miscutils/makedevs.c | 2 | ||||
-rw-r--r-- | miscutils/microcom.c | 2 | ||||
-rw-r--r-- | miscutils/time.c | 2 | ||||
-rw-r--r-- | modutils/modprobe-small.c | 2 | ||||
-rw-r--r-- | modutils/modprobe.c | 4 | ||||
-rw-r--r-- | networking/ifplugd.c | 2 | ||||
-rw-r--r-- | networking/libiproute/ipaddress.c | 2 | ||||
-rw-r--r-- | networking/libiproute/iproute.c | 4 | ||||
-rw-r--r-- | networking/udhcp/dhcpd.c | 4 | ||||
-rw-r--r-- | procps/kill.c | 2 | ||||
-rw-r--r-- | selinux/chcon.c | 4 | ||||
-rw-r--r-- | selinux/runcon.c | 8 | ||||
-rw-r--r-- | shell/hush.c | 2 | ||||
-rw-r--r-- | util-linux/mdev.c | 2 | ||||
-rw-r--r-- | util-linux/mkfs_minix.c | 2 | ||||
-rw-r--r-- | util-linux/mount.c | 2 |
22 files changed, 29 insertions, 29 deletions
diff --git a/coreutils/chmod.c b/coreutils/chmod.c index 9c1c76047..c04201eec 100644 --- a/coreutils/chmod.c +++ b/coreutils/chmod.c | |||
@@ -50,7 +50,7 @@ static int FAST_FUNC fileAction(const char *fileName, struct stat *statbuf, void | |||
50 | newmode = statbuf->st_mode; | 50 | newmode = statbuf->st_mode; |
51 | 51 | ||
52 | if (!bb_parse_mode((char *)param, &newmode)) | 52 | if (!bb_parse_mode((char *)param, &newmode)) |
53 | bb_error_msg_and_die("invalid mode: %s", (char *)param); | 53 | bb_error_msg_and_die("invalid mode '%s'", (char *)param); |
54 | 54 | ||
55 | if (chmod(fileName, newmode) == 0) { | 55 | if (chmod(fileName, newmode) == 0) { |
56 | if (OPT_VERBOSE | 56 | if (OPT_VERBOSE |
diff --git a/coreutils/install.c b/coreutils/install.c index 803afe617..ab9feffaf 100644 --- a/coreutils/install.c +++ b/coreutils/install.c | |||
@@ -50,7 +50,7 @@ static void setdefaultfilecon(const char *path) | |||
50 | 50 | ||
51 | if (lsetfilecon(path, scontext) < 0) { | 51 | if (lsetfilecon(path, scontext) < 0) { |
52 | if (errno != ENOTSUP) { | 52 | if (errno != ENOTSUP) { |
53 | bb_perror_msg("warning: failed to change context" | 53 | bb_perror_msg("warning: can't change context" |
54 | " of %s to %s", path, scontext); | 54 | " of %s to %s", path, scontext); |
55 | } | 55 | } |
56 | } | 56 | } |
diff --git a/e2fsprogs/fsck.c b/e2fsprogs/fsck.c index 3ec5b3643..0192f3cdb 100644 --- a/e2fsprogs/fsck.c +++ b/e2fsprogs/fsck.c | |||
@@ -307,7 +307,7 @@ static void load_fs_info(const char *filename) | |||
307 | 307 | ||
308 | fstab = setmntent(filename, "r"); | 308 | fstab = setmntent(filename, "r"); |
309 | if (!fstab) { | 309 | if (!fstab) { |
310 | bb_perror_msg("can't read %s", filename); | 310 | bb_perror_msg("can't read '%s'", filename); |
311 | return; | 311 | return; |
312 | } | 312 | } |
313 | 313 | ||
diff --git a/e2fsprogs/old_e2fsprogs/util.c b/e2fsprogs/old_e2fsprogs/util.c index 326492d49..64cca05a7 100644 --- a/e2fsprogs/old_e2fsprogs/util.c +++ b/e2fsprogs/old_e2fsprogs/util.c | |||
@@ -35,7 +35,7 @@ void check_plausibility(const char *device, int force) | |||
35 | if (force) | 35 | if (force) |
36 | return; | 36 | return; |
37 | if (val == -1) | 37 | if (val == -1) |
38 | bb_perror_msg_and_die("can't stat %s", device); | 38 | bb_perror_msg_and_die("can't stat '%s'", device); |
39 | if (!S_ISBLK(s.st_mode)) { | 39 | if (!S_ISBLK(s.st_mode)) { |
40 | printf("%s is not a block special device.\n", device); | 40 | printf("%s is not a block special device.\n", device); |
41 | proceed_question(); | 41 | proceed_question(); |
diff --git a/findutils/find.c b/findutils/find.c index f45abbe36..0b06938da 100644 --- a/findutils/find.c +++ b/findutils/find.c | |||
@@ -756,7 +756,7 @@ static action*** parse_params(char **argv) | |||
756 | arg1 = plus_minus_num(arg1); | 756 | arg1 = plus_minus_num(arg1); |
757 | ap->perm_mask = 0; | 757 | ap->perm_mask = 0; |
758 | if (!bb_parse_mode(arg1, &ap->perm_mask)) | 758 | if (!bb_parse_mode(arg1, &ap->perm_mask)) |
759 | bb_error_msg_and_die("invalid mode: %s", arg1); | 759 | bb_error_msg_and_die("invalid mode '%s'", arg1); |
760 | } | 760 | } |
761 | #endif | 761 | #endif |
762 | #if ENABLE_FEATURE_FIND_MTIME | 762 | #if ENABLE_FEATURE_FIND_MTIME |
diff --git a/libbb/run_shell.c b/libbb/run_shell.c index de7b92ab2..6f98bd695 100644 --- a/libbb/run_shell.c +++ b/libbb/run_shell.c | |||
@@ -86,5 +86,5 @@ void FAST_FUNC run_shell(const char *shell, int loginshell, const char *command, | |||
86 | freecon(current_sid); | 86 | freecon(current_sid); |
87 | #endif | 87 | #endif |
88 | execv(shell, (char **) args); | 88 | execv(shell, (char **) args); |
89 | bb_perror_msg_and_die("can't run %s", shell); | 89 | bb_perror_msg_and_die("can't run '%s'", shell); |
90 | } | 90 | } |
diff --git a/miscutils/makedevs.c b/miscutils/makedevs.c index be080552b..abf505770 100644 --- a/miscutils/makedevs.c +++ b/miscutils/makedevs.c | |||
@@ -63,7 +63,7 @@ int makedevs_main(int argc, char **argv) | |||
63 | /* if mode != S_IFCHR and != S_IFBLK, | 63 | /* if mode != S_IFCHR and != S_IFBLK, |
64 | * third param in mknod() ignored */ | 64 | * third param in mknod() ignored */ |
65 | if (mknod(nodname, mode, makedev(Smajor, Sminor))) | 65 | if (mknod(nodname, mode, makedev(Smajor, Sminor))) |
66 | bb_perror_msg("can't create %s", nodname); | 66 | bb_perror_msg("can't create '%s'", nodname); |
67 | 67 | ||
68 | /*if (nodname == basedev)*/ /* ex. /dev/hda - to /dev/hda1 ... */ | 68 | /*if (nodname == basedev)*/ /* ex. /dev/hda - to /dev/hda1 ... */ |
69 | nodname = buf; | 69 | nodname = buf; |
diff --git a/miscutils/microcom.c b/miscutils/microcom.c index 0fb51d2e8..78863d49f 100644 --- a/miscutils/microcom.c +++ b/miscutils/microcom.c | |||
@@ -64,7 +64,7 @@ int microcom_main(int argc UNUSED_PARAM, char **argv) | |||
64 | if (sfd < 0) { | 64 | if (sfd < 0) { |
65 | // device already locked -> bail out | 65 | // device already locked -> bail out |
66 | if (errno == EEXIST) | 66 | if (errno == EEXIST) |
67 | bb_perror_msg_and_die("can't create %s", device_lock_file); | 67 | bb_perror_msg_and_die("can't create '%s'", device_lock_file); |
68 | // can't create lock -> don't care | 68 | // can't create lock -> don't care |
69 | if (ENABLE_FEATURE_CLEAN_UP) | 69 | if (ENABLE_FEATURE_CLEAN_UP) |
70 | free(device_lock_file); | 70 | free(device_lock_file); |
diff --git a/miscutils/time.c b/miscutils/time.c index 5ea0f064b..6946c863f 100644 --- a/miscutils/time.c +++ b/miscutils/time.c | |||
@@ -380,7 +380,7 @@ static void run_command(char *const *cmd, resource_t *resp) | |||
380 | versus merely warnings if the cast is left off. */ | 380 | versus merely warnings if the cast is left off. */ |
381 | BB_EXECVP(cmd[0], cmd); | 381 | BB_EXECVP(cmd[0], cmd); |
382 | xfunc_error_retval = (errno == ENOENT ? 127 : 126); | 382 | xfunc_error_retval = (errno == ENOENT ? 127 : 126); |
383 | bb_error_msg_and_die("can't run %s", cmd[0]); | 383 | bb_error_msg_and_die("can't run '%s'", cmd[0]); |
384 | } | 384 | } |
385 | 385 | ||
386 | /* Have signals kill the child but not self (if possible). */ | 386 | /* Have signals kill the child but not self (if possible). */ |
diff --git a/modutils/modprobe-small.c b/modutils/modprobe-small.c index 53b7c9468..cf22b9471 100644 --- a/modutils/modprobe-small.c +++ b/modutils/modprobe-small.c | |||
@@ -402,7 +402,7 @@ static void write_out_dep_bb(int fd) | |||
402 | 402 | ||
403 | if (rename(DEPFILE_BB".new", DEPFILE_BB) != 0) { | 403 | if (rename(DEPFILE_BB".new", DEPFILE_BB) != 0) { |
404 | err: | 404 | err: |
405 | bb_perror_msg("can't create %s", DEPFILE_BB); | 405 | bb_perror_msg("can't create '%s'", DEPFILE_BB); |
406 | unlink(DEPFILE_BB".new"); | 406 | unlink(DEPFILE_BB".new"); |
407 | } else { | 407 | } else { |
408 | ok: | 408 | ok: |
diff --git a/modutils/modprobe.c b/modutils/modprobe.c index f511bc2ed..69b9e4687 100644 --- a/modutils/modprobe.c +++ b/modutils/modprobe.c | |||
@@ -298,7 +298,7 @@ static int do_modprobe(struct module_entry *m) | |||
298 | rc = bb_delete_module(m2->modname, O_EXCL); | 298 | rc = bb_delete_module(m2->modname, O_EXCL); |
299 | if (rc) { | 299 | if (rc) { |
300 | if (first) { | 300 | if (first) { |
301 | bb_error_msg("failed to unload module %s: %s", | 301 | bb_error_msg("can't unload module %s: %s", |
302 | humanly_readable_name(m2), | 302 | humanly_readable_name(m2), |
303 | moderror(rc)); | 303 | moderror(rc)); |
304 | break; | 304 | break; |
@@ -328,7 +328,7 @@ static int do_modprobe(struct module_entry *m) | |||
328 | rc = 0; | 328 | rc = 0; |
329 | free(options); | 329 | free(options); |
330 | if (rc) { | 330 | if (rc) { |
331 | bb_error_msg("failed to load module %s (%s): %s", | 331 | bb_error_msg("can't load module %s (%s): %s", |
332 | humanly_readable_name(m2), | 332 | humanly_readable_name(m2), |
333 | fn, | 333 | fn, |
334 | moderror(rc) | 334 | moderror(rc) |
diff --git a/networking/ifplugd.c b/networking/ifplugd.c index 62b135524..3567dea03 100644 --- a/networking/ifplugd.c +++ b/networking/ifplugd.c | |||
@@ -486,7 +486,7 @@ static smallint detect_link(void) | |||
486 | if (status == IFSTATUS_ERR | 486 | if (status == IFSTATUS_ERR |
487 | && G.detect_link_func == detect_link_auto | 487 | && G.detect_link_func == detect_link_auto |
488 | ) { | 488 | ) { |
489 | bb_error_msg("failed to detect link status"); | 489 | bb_error_msg("can't detect link status"); |
490 | } | 490 | } |
491 | 491 | ||
492 | if (status != G.iface_last_status) { | 492 | if (status != G.iface_last_status) { |
diff --git a/networking/libiproute/ipaddress.c b/networking/libiproute/ipaddress.c index af29dd301..daea9dd03 100644 --- a/networking/libiproute/ipaddress.c +++ b/networking/libiproute/ipaddress.c | |||
@@ -194,7 +194,7 @@ static NOINLINE int print_linkinfo(const struct nlmsghdr *n) | |||
194 | static int flush_update(void) | 194 | static int flush_update(void) |
195 | { | 195 | { |
196 | if (rtnl_send(G_filter.rth, G_filter.flushb, G_filter.flushp) < 0) { | 196 | if (rtnl_send(G_filter.rth, G_filter.flushb, G_filter.flushp) < 0) { |
197 | bb_perror_msg("failed to send flush request"); | 197 | bb_perror_msg("can't send flush request"); |
198 | return -1; | 198 | return -1; |
199 | } | 199 | } |
200 | G_filter.flushp = 0; | 200 | G_filter.flushp = 0; |
diff --git a/networking/libiproute/iproute.c b/networking/libiproute/iproute.c index 68e3c36a0..d771a609b 100644 --- a/networking/libiproute/iproute.c +++ b/networking/libiproute/iproute.c | |||
@@ -51,7 +51,7 @@ typedef struct filter_t filter_t; | |||
51 | static int flush_update(void) | 51 | static int flush_update(void) |
52 | { | 52 | { |
53 | if (rtnl_send(G_filter.rth, G_filter.flushb, G_filter.flushp) < 0) { | 53 | if (rtnl_send(G_filter.rth, G_filter.flushb, G_filter.flushp) < 0) { |
54 | bb_perror_msg("failed to send flush request"); | 54 | bb_perror_msg("can't send flush request"); |
55 | return -1; | 55 | return -1; |
56 | } | 56 | } |
57 | G_filter.flushp = 0; | 57 | G_filter.flushp = 0; |
@@ -846,7 +846,7 @@ static int iproute_get(char **argv) | |||
846 | tb[RTA_PREFSRC]->rta_type = RTA_SRC; | 846 | tb[RTA_PREFSRC]->rta_type = RTA_SRC; |
847 | r->rtm_src_len = 8*RTA_PAYLOAD(tb[RTA_PREFSRC]); | 847 | r->rtm_src_len = 8*RTA_PAYLOAD(tb[RTA_PREFSRC]); |
848 | } else if (!tb[RTA_SRC]) { | 848 | } else if (!tb[RTA_SRC]) { |
849 | bb_error_msg_and_die("failed to connect the route"); | 849 | bb_error_msg_and_die("can't connect the route"); |
850 | } | 850 | } |
851 | if (!odev && tb[RTA_OIF]) { | 851 | if (!odev && tb[RTA_OIF]) { |
852 | tb[RTA_OIF]->rta_type = 0; | 852 | tb[RTA_OIF]->rta_type = 0; |
diff --git a/networking/udhcp/dhcpd.c b/networking/udhcp/dhcpd.c index 93e06b237..795ac4841 100644 --- a/networking/udhcp/dhcpd.c +++ b/networking/udhcp/dhcpd.c | |||
@@ -389,13 +389,13 @@ int udhcpd_main(int argc UNUSED_PARAM, char **argv) | |||
389 | 389 | ||
390 | switch (udhcp_sp_read(&rfds)) { | 390 | switch (udhcp_sp_read(&rfds)) { |
391 | case SIGUSR1: | 391 | case SIGUSR1: |
392 | bb_info_msg("Received a SIGUSR1"); | 392 | bb_info_msg("Received SIGUSR1"); |
393 | write_leases(); | 393 | write_leases(); |
394 | /* why not just reset the timeout, eh */ | 394 | /* why not just reset the timeout, eh */ |
395 | timeout_end = monotonic_sec() + server_config.auto_time; | 395 | timeout_end = monotonic_sec() + server_config.auto_time; |
396 | continue; | 396 | continue; |
397 | case SIGTERM: | 397 | case SIGTERM: |
398 | bb_info_msg("Received a SIGTERM"); | 398 | bb_info_msg("Received SIGTERM"); |
399 | goto ret0; | 399 | goto ret0; |
400 | case 0: /* no signal: read a packet */ | 400 | case 0: /* no signal: read a packet */ |
401 | break; | 401 | break; |
diff --git a/procps/kill.c b/procps/kill.c index e418046e7..1d343edff 100644 --- a/procps/kill.c +++ b/procps/kill.c | |||
@@ -195,7 +195,7 @@ int kill_main(int argc, char **argv) | |||
195 | continue; | 195 | continue; |
196 | errors++; | 196 | errors++; |
197 | if (!quiet) | 197 | if (!quiet) |
198 | bb_perror_msg("can't kill pid %u", (unsigned)*pl); | 198 | bb_perror_msg("can't kill pid %d", (int)*pl); |
199 | } | 199 | } |
200 | } | 200 | } |
201 | free(pidList); | 201 | free(pidList); |
diff --git a/selinux/chcon.c b/selinux/chcon.c index 4395a7ee4..c6be37f44 100644 --- a/selinux/chcon.c +++ b/selinux/chcon.c | |||
@@ -90,13 +90,13 @@ static int FAST_FUNC change_filedir_context( | |||
90 | if ((option_mask32 & OPT_VERBOSE) || ((option_mask32 & OPT_CHANHES) && !fail)) { | 90 | if ((option_mask32 & OPT_VERBOSE) || ((option_mask32 & OPT_CHANHES) && !fail)) { |
91 | printf(!fail | 91 | printf(!fail |
92 | ? "context of %s changed to %s\n" | 92 | ? "context of %s changed to %s\n" |
93 | : "failed to change context of %s to %s\n", | 93 | : "can't change context of %s to %s\n", |
94 | fname, context_string); | 94 | fname, context_string); |
95 | } | 95 | } |
96 | if (!fail) { | 96 | if (!fail) { |
97 | rc = TRUE; | 97 | rc = TRUE; |
98 | } else if ((option_mask32 & OPT_QUIET) == 0) { | 98 | } else if ((option_mask32 & OPT_QUIET) == 0) { |
99 | bb_error_msg("failed to change context of %s to %s", | 99 | bb_error_msg("can't change context of %s to %s", |
100 | fname, context_string); | 100 | fname, context_string); |
101 | } | 101 | } |
102 | } else if (option_mask32 & OPT_VERBOSE) { | 102 | } else if (option_mask32 & OPT_VERBOSE) { |
diff --git a/selinux/runcon.c b/selinux/runcon.c index 8472b7090..4afd1116e 100644 --- a/selinux/runcon.c +++ b/selinux/runcon.c | |||
@@ -59,13 +59,13 @@ static context_t runcon_compute_new_context(char *user, char *role, char *type, | |||
59 | if (!con) | 59 | if (!con) |
60 | bb_error_msg_and_die("'%s' is not a valid context", cur_context); | 60 | bb_error_msg_and_die("'%s' is not a valid context", cur_context); |
61 | if (user && context_user_set(con, user)) | 61 | if (user && context_user_set(con, user)) |
62 | bb_error_msg_and_die("failed to set new user '%s'", user); | 62 | bb_error_msg_and_die("can't set new user '%s'", user); |
63 | if (type && context_type_set(con, type)) | 63 | if (type && context_type_set(con, type)) |
64 | bb_error_msg_and_die("failed to set new type '%s'", type); | 64 | bb_error_msg_and_die("can't set new type '%s'", type); |
65 | if (range && context_range_set(con, range)) | 65 | if (range && context_range_set(con, range)) |
66 | bb_error_msg_and_die("failed to set new range '%s'", range); | 66 | bb_error_msg_and_die("can't set new range '%s'", range); |
67 | if (role && context_role_set(con, role)) | 67 | if (role && context_role_set(con, role)) |
68 | bb_error_msg_and_die("failed to set new role '%s'", role); | 68 | bb_error_msg_and_die("can't set new role '%s'", role); |
69 | 69 | ||
70 | return con; | 70 | return con; |
71 | } | 71 | } |
diff --git a/shell/hush.c b/shell/hush.c index 048085b3e..9b15efb30 100644 --- a/shell/hush.c +++ b/shell/hush.c | |||
@@ -674,7 +674,7 @@ static const struct built_in_command bltins1[] = { | |||
674 | BLTIN("set" , builtin_set , "Set/unset positional parameters"), | 674 | BLTIN("set" , builtin_set , "Set/unset positional parameters"), |
675 | BLTIN("shift" , builtin_shift , "Shift positional parameters"), | 675 | BLTIN("shift" , builtin_shift , "Shift positional parameters"), |
676 | BLTIN("trap" , builtin_trap , "Trap signals"), | 676 | BLTIN("trap" , builtin_trap , "Trap signals"), |
677 | BLTIN("type" , builtin_type , "Write a description of command type"), | 677 | BLTIN("type" , builtin_type , "Show command type"), |
678 | BLTIN("ulimit" , shell_builtin_ulimit , "Control resource limits"), | 678 | BLTIN("ulimit" , shell_builtin_ulimit , "Control resource limits"), |
679 | BLTIN("umask" , builtin_umask , "Set file creation mask"), | 679 | BLTIN("umask" , builtin_umask , "Set file creation mask"), |
680 | BLTIN("unset" , builtin_unset , "Unset variables"), | 680 | BLTIN("unset" , builtin_unset , "Unset variables"), |
diff --git a/util-linux/mdev.c b/util-linux/mdev.c index 3cee3a669..b0efd98b5 100644 --- a/util-linux/mdev.c +++ b/util-linux/mdev.c | |||
@@ -340,7 +340,7 @@ static void make_device(char *path, int delete) | |||
340 | 340 | ||
341 | if (!delete && major >= 0) { | 341 | if (!delete && major >= 0) { |
342 | if (mknod(node_name, mode | type, makedev(major, minor)) && errno != EEXIST) | 342 | if (mknod(node_name, mode | type, makedev(major, minor)) && errno != EEXIST) |
343 | bb_perror_msg("can't create %s", node_name); | 343 | bb_perror_msg("can't create '%s'", node_name); |
344 | if (major == G.root_major && minor == G.root_minor) | 344 | if (major == G.root_major && minor == G.root_minor) |
345 | symlink(node_name, "root"); | 345 | symlink(node_name, "root"); |
346 | if (ENABLE_FEATURE_MDEV_CONF) { | 346 | if (ENABLE_FEATURE_MDEV_CONF) { |
diff --git a/util-linux/mkfs_minix.c b/util-linux/mkfs_minix.c index c6c2036ea..abfb94226 100644 --- a/util-linux/mkfs_minix.c +++ b/util-linux/mkfs_minix.c | |||
@@ -687,7 +687,7 @@ int mkfs_minix_main(int argc UNUSED_PARAM, char **argv) | |||
687 | 687 | ||
688 | xmove_fd(xopen(G.device_name, O_RDWR), dev_fd); | 688 | xmove_fd(xopen(G.device_name, O_RDWR), dev_fd); |
689 | if (fstat(dev_fd, &statbuf) < 0) | 689 | if (fstat(dev_fd, &statbuf) < 0) |
690 | bb_error_msg_and_die("can't stat %s", G.device_name); | 690 | bb_error_msg_and_die("can't stat '%s'", G.device_name); |
691 | if (!S_ISBLK(statbuf.st_mode)) | 691 | if (!S_ISBLK(statbuf.st_mode)) |
692 | opt &= ~1; // clear -c (check) | 692 | opt &= ~1; // clear -c (check) |
693 | 693 | ||
diff --git a/util-linux/mount.c b/util-linux/mount.c index e24fc4024..8ec3071b1 100644 --- a/util-linux/mount.c +++ b/util-linux/mount.c | |||
@@ -1921,7 +1921,7 @@ int mount_main(int argc UNUSED_PARAM, char **argv) | |||
1921 | } | 1921 | } |
1922 | fstab = setmntent(fstabname, "r"); | 1922 | fstab = setmntent(fstabname, "r"); |
1923 | if (!fstab) | 1923 | if (!fstab) |
1924 | bb_perror_msg_and_die("can't read %s", fstabname); | 1924 | bb_perror_msg_and_die("can't read '%s'", fstabname); |
1925 | 1925 | ||
1926 | // Loop through entries until we find what we're looking for | 1926 | // Loop through entries until we find what we're looking for |
1927 | memset(mtpair, 0, sizeof(mtpair)); | 1927 | memset(mtpair, 0, sizeof(mtpair)); |