[git commit master] mdev: print line# in error messages

Denys Vlasenko vda.linux at googlemail.com
Sat Nov 7 02:33:05 UTC 2009


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

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 bbf7f20..80549d1 100644
--- 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); */
-- 
1.6.3.3



More information about the busybox-cvs mailing list