[git commit master] mdev: adjust error message

Denys Vlasenko vda.linux at googlemail.com
Tue Oct 27 16:13:45 UTC 2009


commit: http://git.busybox.net/busybox/commit/?id=b04f058e769dac576e2ec090d8c6e6f63c6cb52f
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

function                                             old     new   delta
.rodata                                           126715  126706      -9

(reusing common error string)

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 util-linux/mdev.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/util-linux/mdev.c b/util-linux/mdev.c
index e4bc665..6640acf 100644
--- a/util-linux/mdev.c
+++ b/util-linux/mdev.c
@@ -331,7 +331,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_and_die("mknod %s", node_name);
+					bb_perror_msg_and_die("can't create %s", node_name);
 				if (major == root_major && minor == root_minor)
 					symlink(node_name, "root");
 				if (ENABLE_FEATURE_MDEV_CONF) {
-- 
1.6.3.3



More information about the busybox-cvs mailing list