aboutsummaryrefslogtreecommitdiff
path: root/util-linux/switch_root.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-04-04 20:52:03 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-04-04 20:52:03 +0000
commitfebe3c421109032cdfb36249c54e314d39256ace (patch)
tree5bf5f4b36eadcff8d4e707d4f46e85c590a53436 /util-linux/switch_root.c
parentd9c2d5fe4ffeedeadc26c1ee64247c72cdbd064a (diff)
downloadbusybox-w32-febe3c421109032cdfb36249c54e314d39256ace.tar.gz
busybox-w32-febe3c421109032cdfb36249c54e314d39256ace.tar.bz2
busybox-w32-febe3c421109032cdfb36249c54e314d39256ace.zip
- sed -e "s/char[[:space:]]*\*[[:space:]]*argv\[\]/char **argv/g"
Diffstat (limited to 'util-linux/switch_root.c')
-rw-r--r--util-linux/switch_root.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/switch_root.c b/util-linux/switch_root.c
index 5a01fd6f7..43c2a6991 100644
--- a/util-linux/switch_root.c
+++ b/util-linux/switch_root.c
@@ -63,8 +63,8 @@ static void delete_contents(const char *directory)
63 } else unlink(directory); 63 } else unlink(directory);
64} 64}
65 65
66int switch_root_main(int argc, char *argv[]); 66int switch_root_main(int argc, char **argv);
67int switch_root_main(int argc, char *argv[]) 67int switch_root_main(int argc, char **argv)
68{ 68{
69 char *newroot, *console=NULL; 69 char *newroot, *console=NULL;
70 struct stat st1, st2; 70 struct stat st1, st2;