X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=util-linux%2Fmdev.c;h=80549d1b7c98d0193f6697506ce04130177ec92b;hb=f5914992f316f8a628505067e108e7ba5a9590ba;hp=6640acfe45334c329afe410d1219b76bab84a10f;hpb=b04f058e769dac576e2ec090d8c6e6f63c6cb52f;p=oweals%2Fbusybox.git diff --git a/util-linux/mdev.c b/util-linux/mdev.c index 6640acfe4..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); */ @@ -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) - 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) {