summaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorDenys Vlasenko2010-03-23 16:25:17 +0100
committerDenys Vlasenko2010-03-23 16:25:17 +0100
commit651a2697f725f10c1ebdb8947925b5a9c6cf4fe2 (patch)
treee2373083cc4bf57af9c114c311ff089b84835f0f /util-linux
parent37a658c4c86fa5ad9fb6f76cba2fca80f4249036 (diff)
downloadbusybox-651a2697f725f10c1ebdb8947925b5a9c6cf4fe2.zip
busybox-651a2697f725f10c1ebdb8947925b5a9c6cf4fe2.tar.gz
*: 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>
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/mdev.c2
-rw-r--r--util-linux/mkfs_minix.c2
-rw-r--r--util-linux/mount.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/util-linux/mdev.c b/util-linux/mdev.c
index 3cee3a6..b0efd98 100644
--- a/util-linux/mdev.c
+++ b/util-linux/mdev.c
@@ -340,7 +340,7 @@ static void make_device(char *path, int delete)
if (!delete && major >= 0) {
if (mknod(node_name, mode | type, makedev(major, minor)) && errno != EEXIST)
- bb_perror_msg("can't create %s", node_name);
+ bb_perror_msg("can't create '%s'", node_name);
if (major == G.root_major && minor == G.root_minor)
symlink(node_name, "root");
if (ENABLE_FEATURE_MDEV_CONF) {
diff --git a/util-linux/mkfs_minix.c b/util-linux/mkfs_minix.c
index c6c2036..abfb942 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)
xmove_fd(xopen(G.device_name, O_RDWR), dev_fd);
if (fstat(dev_fd, &statbuf) < 0)
- bb_error_msg_and_die("can't stat %s", G.device_name);
+ bb_error_msg_and_die("can't stat '%s'", G.device_name);
if (!S_ISBLK(statbuf.st_mode))
opt &= ~1; // clear -c (check)
diff --git a/util-linux/mount.c b/util-linux/mount.c
index e24fc40..8ec3071 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -1921,7 +1921,7 @@ int mount_main(int argc UNUSED_PARAM, char **argv)
}
fstab = setmntent(fstabname, "r");
if (!fstab)
- bb_perror_msg_and_die("can't read %s", fstabname);
+ bb_perror_msg_and_die("can't read '%s'", fstabname);
// Loop through entries until we find what we're looking for
memset(mtpair, 0, sizeof(mtpair));