diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-02-06 00:35:36 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-02-06 00:35:36 +0000 |
commit | f885c543da79845113d23e9eb78798988cc0a6b6 (patch) | |
tree | f6db84938eb1b064e20253497a8dd5b4508b8055 | |
parent | 8c0164c373da4dc4aa8e6dc679ac1b7c093dce6b (diff) | |
download | busybox-w32-f885c543da79845113d23e9eb78798988cc0a6b6.tar.gz busybox-w32-f885c543da79845113d23e9eb78798988cc0a6b6.tar.bz2 busybox-w32-f885c543da79845113d23e9eb78798988cc0a6b6.zip |
correct "pivot_root: pivot_root: <msg>"
-rw-r--r-- | util-linux/pivot_root.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/util-linux/pivot_root.c b/util-linux/pivot_root.c index 97c7fa85e..2706bd2ff 100644 --- a/util-linux/pivot_root.c +++ b/util-linux/pivot_root.c | |||
@@ -18,8 +18,10 @@ int pivot_root_main(int argc, char **argv) | |||
18 | if (argc != 3) | 18 | if (argc != 3) |
19 | bb_show_usage(); | 19 | bb_show_usage(); |
20 | 20 | ||
21 | if (pivot_root(argv[1],argv[2]) < 0) | 21 | if (pivot_root(argv[1], argv[2]) < 0) { |
22 | bb_perror_msg_and_die("pivot_root"); | 22 | /* prints "pivot_root: <strerror text>" */ |
23 | bb_perror_nomsg_and_die(); | ||
24 | } | ||
23 | 25 | ||
24 | return EXIT_SUCCESS; | 26 | return EXIT_SUCCESS; |
25 | } | 27 | } |