mirror of
https://github.com/sheumann/hush.git
synced 2025-02-06 13:30:24 +00:00
mdev: print line# in error messages
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
27094cac7f
commit
1612c757d0
@ -246,7 +246,7 @@ static void make_device(char *path, int delete)
|
|||||||
|
|
||||||
/* 2nd field: uid:gid - device ownership */
|
/* 2nd field: uid:gid - device ownership */
|
||||||
if (get_uidgid(&ugid, tokens[1], 1) == 0)
|
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 */
|
/* 3rd field: mode - device permissions */
|
||||||
/* mode = strtoul(tokens[2], NULL, 8); */
|
/* mode = strtoul(tokens[2], NULL, 8); */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user