From: Denys Vlasenko Date: Sat, 7 Nov 2009 02:33:05 +0000 (+0100) Subject: mdev: print line# in error messages X-Git-Tag: 1_16_0~261 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1612c757d0cd81629ce78d21532acd425a17db8a;p=oweals%2Fbusybox.git mdev: print line# in error messages Signed-off-by: Denys Vlasenko --- 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) /* 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); */