summaryrefslogtreecommitdiff
path: root/util-linux/pivot_root.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-09-10 18:26:51 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-09-10 18:26:51 +0000
commit5983914c1b4e6440ad3bb603862a29a75d3fad3d (patch)
treeab62d4d0c95a24b59c6cb5016b535ad2605162bf /util-linux/pivot_root.c
parent1bfca7bac7c379e7d42387851d6f689d60f749d8 (diff)
downloadbusybox-w32-5983914c1b4e6440ad3bb603862a29a75d3fad3d.tar.gz
busybox-w32-5983914c1b4e6440ad3bb603862a29a75d3fad3d.tar.bz2
busybox-w32-5983914c1b4e6440ad3bb603862a29a75d3fad3d.zip
ipcs: silly trick with strings. saves ~200 bytes.
Diffstat (limited to 'util-linux/pivot_root.c')
-rw-r--r--util-linux/pivot_root.c7
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
18int pivot_root_main(int argc, char **argv) 18int 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}