*: 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>
This commit is contained in:
@ -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) {
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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));
|
||||
|
Reference in New Issue
Block a user