projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wget: factor out progress bar code
[oweals/busybox.git]
/
util-linux
/
mdev.c
diff --git
a/util-linux/mdev.c
b/util-linux/mdev.c
index 6640acfe45334c329afe410d1219b76bab84a10f..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)
/* 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); */
/* 3rd field: mode - device permissions */
/* mode = strtoul(tokens[2], NULL, 8); */
@@
-331,7
+331,7
@@
static void make_device(char *path, int delete)
if (!delete && major >= 0) {
if (mknod(node_name, mode | type, makedev(major, minor)) && errno != EEXIST)
if (!delete && major >= 0) {
if (mknod(node_name, mode | type, makedev(major, minor)) && errno != EEXIST)
- bb_perror_msg
_and_die
("can't create %s", node_name);
+ bb_perror_msg("can't create %s", node_name);
if (major == root_major && minor == root_minor)
symlink(node_name, "root");
if (ENABLE_FEATURE_MDEV_CONF) {
if (major == root_major && minor == root_minor)
symlink(node_name, "root");
if (ENABLE_FEATURE_MDEV_CONF) {