aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-11-07 03:33:05 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2009-11-07 03:33:05 +0100
commit1612c757d0cd81629ce78d21532acd425a17db8a (patch)
treed6d2cf7b9cff337667c3d0b3280c47441e8a95e7
parent27094cac7f6adcb956d93cfba4a57782b27be412 (diff)
downloadbusybox-w32-1612c757d0cd81629ce78d21532acd425a17db8a.tar.gz
busybox-w32-1612c757d0cd81629ce78d21532acd425a17db8a.tar.bz2
busybox-w32-1612c757d0cd81629ce78d21532acd425a17db8a.zip
mdev: print line# in error messages
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--util-linux/mdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/mdev.c b/util-linux/mdev.c
index bbf7f20bd..80549d1b7 100644
--- a/util-linux/mdev.c
+++ b/util-linux/mdev.c
@@ -246,7 +246,7 @@ static void make_device(char *path, int delete)
246 246
247 /* 2nd field: uid:gid - device ownership */ 247 /* 2nd field: uid:gid - device ownership */
248 if (get_uidgid(&ugid, tokens[1], 1) == 0) 248 if (get_uidgid(&ugid, tokens[1], 1) == 0)
249 bb_error_msg("unknown user/group %s", tokens[1]); 249 bb_error_msg("unknown user/group %s on line %d", tokens[1], parser->lineno);
250 250
251 /* 3rd field: mode - device permissions */ 251 /* 3rd field: mode - device permissions */
252 /* mode = strtoul(tokens[2], NULL, 8); */ 252 /* mode = strtoul(tokens[2], NULL, 8); */