diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-11-01 21:51:31 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-11-01 21:51:31 +0100 |
commit | e62a2463ecd4189c5097f5d96fff83300a387c60 (patch) | |
tree | 61f79cd1aaed72e098c9586f34d9482111dcdd7b /util-linux/mdev.c | |
parent | 4214f8b537045e88de14a721e6aa773fe36d771f (diff) | |
download | busybox-w32-e62a2463ecd4189c5097f5d96fff83300a387c60.tar.gz busybox-w32-e62a2463ecd4189c5097f5d96fff83300a387c60.tar.bz2 busybox-w32-e62a2463ecd4189c5097f5d96fff83300a387c60.zip |
mdev: do not die on mknod errors
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/mdev.c')
-rw-r--r-- | util-linux/mdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/mdev.c b/util-linux/mdev.c index 6640acfe4..bbf7f20bd 100644 --- a/util-linux/mdev.c +++ b/util-linux/mdev.c | |||
@@ -331,7 +331,7 @@ static void make_device(char *path, int delete) | |||
331 | 331 | ||
332 | if (!delete && major >= 0) { | 332 | if (!delete && major >= 0) { |
333 | if (mknod(node_name, mode | type, makedev(major, minor)) && errno != EEXIST) | 333 | if (mknod(node_name, mode | type, makedev(major, minor)) && errno != EEXIST) |
334 | bb_perror_msg_and_die("can't create %s", node_name); | 334 | bb_perror_msg("can't create %s", node_name); |
335 | if (major == root_major && minor == root_minor) | 335 | if (major == root_major && minor == root_minor) |
336 | symlink(node_name, "root"); | 336 | symlink(node_name, "root"); |
337 | if (ENABLE_FEATURE_MDEV_CONF) { | 337 | if (ENABLE_FEATURE_MDEV_CONF) { |