projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fsutil: Fix writing end-of-archive marker.
[pintos-anon]
/
src
/
examples
/
shell.c
diff --git
a/src/examples/shell.c
b/src/examples/shell.c
index 0aaafbb91c672454d139e498af792f4084e51feb..93641b45b8c3250ff3dd3582fc731668d34ebbe7 100644
(file)
--- a/
src/examples/shell.c
+++ b/
src/examples/shell.c
@@
-41,7
+41,7
@@
main (void)
}
printf ("Shell exiting.");
- return
0
;
+ return
EXIT_SUCCESS
;
}
/* Reads a line of input from the user into LINE, which has room
@@
-59,7
+59,7
@@
read_line (char line[], size_t size)
switch (c)
{
- case '\
n
':
+ case '\
r
':
*pos = '\0';
putchar ('\n');
return;