commit | f885c543da79845113d23e9eb78798988cc0a6b6 | [log] [tgz] |
---|---|---|
author | Denis Vlasenko <vda.linux@googlemail.com> | Tue Feb 06 00:35:36 2007 +0000 |
committer | Denis Vlasenko <vda.linux@googlemail.com> | Tue Feb 06 00:35:36 2007 +0000 |
tree | f6db84938eb1b064e20253497a8dd5b4508b8055 | |
parent | 8c0164c373da4dc4aa8e6dc679ac1b7c093dce6b [diff] |
correct "pivot_root: pivot_root: <msg>"
diff --git a/util-linux/pivot_root.c b/util-linux/pivot_root.c index 97c7fa8..2706bd2 100644 --- a/util-linux/pivot_root.c +++ b/util-linux/pivot_root.c
@@ -18,8 +18,10 @@ if (argc != 3) bb_show_usage(); - if (pivot_root(argv[1],argv[2]) < 0) - bb_perror_msg_and_die("pivot_root"); + if (pivot_root(argv[1], argv[2]) < 0) { + /* prints "pivot_root: <strerror text>" */ + bb_perror_nomsg_and_die(); + } return EXIT_SUCCESS; }