projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27094ca
)
mdev: print line# in error messages
author
Denys Vlasenko
<vda.linux@googlemail.com>
Sat, 7 Nov 2009 02:33:05 +0000
(
03:33
+0100)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Sat, 7 Nov 2009 02:33:05 +0000
(
03:33
+0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
util-linux/mdev.c
patch
|
blob
|
history
diff --git
a/util-linux/mdev.c
b/util-linux/mdev.c
index bbf7f20bd450cd1ef915fe52fefac1824dfd45cc..80549d1b7c98d0193f6697506ce04130177ec92b 100644
(file)
--- a/
util-linux/mdev.c
+++ b/
util-linux/mdev.c
@@
-246,7
+246,7
@@
static void make_device(char *path, int delete)
/* 2nd field: uid:gid - device ownership */
if (get_uidgid(&ugid, tokens[1], 1) == 0)
- bb_error_msg("unknown user/group %s
", tokens[1]
);
+ bb_error_msg("unknown user/group %s
on line %d", tokens[1], parser->lineno
);
/* 3rd field: mode - device permissions */
/* mode = strtoul(tokens[2], NULL, 8); */