projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b280455
)
Fix off by one error. (I know I had a reason for doing that, but I have _no_
author
Rob Landley
<rob@landley.net>
Tue, 14 Feb 2006 07:33:45 +0000
(07:33 -0000)
committer
Rob Landley
<rob@landley.net>
Tue, 14 Feb 2006 07:33:45 +0000
(07:33 -0000)
idea what it was...)
util-linux/switch_root.c
patch
|
blob
|
history
diff --git
a/util-linux/switch_root.c
b/util-linux/switch_root.c
index bcc4443ab32d48aee057b7cf27ea7cbadd1aee1c..1ba374076c200402285f5d9df71f437896bacb9a 100644
(file)
--- a/
util-linux/switch_root.c
+++ b/
util-linux/switch_root.c
@@
-118,6
+118,6
@@
int switch_root_main(int argc, char *argv[])
}
// Exec real init. (This is why we must be pid 1.)
- execv(argv[optind],argv+optind
+1
);
+ execv(argv[optind],argv+optind);
bb_error_msg_and_die("Bad init '%s'",argv[optind]);
}