diff options
Diffstat (limited to 'util-linux/pivot_root.c')
-rw-r--r-- | util-linux/pivot_root.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/util-linux/pivot_root.c b/util-linux/pivot_root.c index 4e67043cd..39a257a19 100644 --- a/util-linux/pivot_root.c +++ b/util-linux/pivot_root.c | |||
@@ -17,12 +17,11 @@ extern int pivot_root(const char * new_root,const char * put_old); | |||
17 | 17 | ||
18 | int pivot_root_main(int argc, char **argv) | 18 | int pivot_root_main(int argc, char **argv) |
19 | { | 19 | { |
20 | if (argc != 3) | 20 | if (argc != 3) |
21 | bb_show_usage(); | 21 | bb_show_usage(); |
22 | 22 | ||
23 | if (pivot_root(argv[1],argv[2]) < 0) | 23 | if (pivot_root(argv[1],argv[2]) < 0) |
24 | bb_perror_msg_and_die("pivot_root"); | 24 | bb_perror_msg_and_die("pivot_root"); |
25 | 25 | ||
26 | return EXIT_SUCCESS; | 26 | return EXIT_SUCCESS; |
27 | |||
28 | } | 27 | } |