projects
/
pintos-anon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb5b271
)
Pass return code from main() to exit().
author
Ben Pfaff
<blp@cs.stanford.edu>
Sun, 19 Sep 2004 07:05:59 +0000
(07:05 +0000)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Sun, 19 Sep 2004 07:05:59 +0000
(07:05 +0000)
src/lib/user/entry.c
patch
|
blob
|
history
diff --git
a/src/lib/user/entry.c
b/src/lib/user/entry.c
index 4827b03ec065c8567ddf26f02442523f4e84fe01..a707c70ae8bfb075b0ef37f3b4100a0be1b26133 100644
(file)
--- a/
src/lib/user/entry.c
+++ b/
src/lib/user/entry.c
@@
-6,6
+6,5
@@
void _start (int argc, char *argv[]);
void
_start (int argc, char *argv[])
{
- main (argc, argv);
- exit (0);
+ exit (main (argc, argv));
}