mdev: adjust error message

function                                             old     new   delta
.rodata                                           126715  126706      -9

(reusing common error string)

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Bernhard Reutner-Fischer 2009-10-26 23:27:06 +01:00 committed by Denys Vlasenko
parent 933993a461
commit b04f058e76

View File

@ -331,7 +331,7 @@ static void make_device(char *path, int delete)
if (!delete && major >= 0) { if (!delete && major >= 0) {
if (mknod(node_name, mode | type, makedev(major, minor)) && errno != EEXIST) if (mknod(node_name, mode | type, makedev(major, minor)) && errno != EEXIST)
bb_perror_msg_and_die("mknod %s", node_name); bb_perror_msg_and_die("can't create %s", node_name);
if (major == root_major && minor == root_minor) if (major == root_major && minor == root_minor)
symlink(node_name, "root"); symlink(node_name, "root");
if (ENABLE_FEATURE_MDEV_CONF) { if (ENABLE_FEATURE_MDEV_CONF) {