diff options
author | rsc <rsc> | 2009-05-31 05:12:21 +0000 |
---|---|---|
committer | rsc <rsc> | 2009-05-31 05:12:21 +0000 |
commit | 34295f461a416e40bb76e67c568a761222dc6913 (patch) | |
tree | 656ee29b7df282b32953ec927291a68cc0ff2124 /init.c | |
parent | 949e55902bb0c976f74b5217b82deac65ff8d781 (diff) | |
download | xv6-labs-34295f461a416e40bb76e67c568a761222dc6913.tar.gz xv6-labs-34295f461a416e40bb76e67c568a761222dc6913.tar.bz2 xv6-labs-34295f461a416e40bb76e67c568a761222dc6913.zip |
group locks into structs they protect.
few naming nits.
Diffstat (limited to 'init.c')
-rw-r--r-- | init.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -5,7 +5,7 @@ #include "user.h" #include "fcntl.h" -char *sh_args[] = { "sh", 0 }; +char *argv[] = { "sh", 0 }; int main(void) @@ -27,7 +27,7 @@ main(void) exit(); } if(pid == 0){ - exec("sh", sh_args); + exec("sh", argv); printf(1, "init: exec sh failed\n"); exit(); } |