aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-03-23 16:25:17 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-03-23 16:25:17 +0100
commit651a2697f725f10c1ebdb8947925b5a9c6cf4fe2 (patch)
treee2373083cc4bf57af9c114c311ff089b84835f0f /util-linux
parent37a658c4c86fa5ad9fb6f76cba2fca80f4249036 (diff)
downloadbusybox-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>
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 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));