diff options
author | rsc <rsc> | 2007-08-24 20:03:40 +0000 |
---|---|---|
committer | rsc <rsc> | 2007-08-24 20:03:40 +0000 |
commit | 1b789e1d50df4e7b98fa131fc29caf29a5f38bfa (patch) | |
tree | d3a2bd24a03aaede0a51b8e5938db6d55753e96a /sh.c | |
parent | 8e88f9e2c617cc1002039c6e37c3c831319b1f8f (diff) | |
download | xv6-labs-1b789e1d50df4e7b98fa131fc29caf29a5f38bfa.tar.gz xv6-labs-1b789e1d50df4e7b98fa131fc29caf29a5f38bfa.tar.bz2 xv6-labs-1b789e1d50df4e7b98fa131fc29caf29a5f38bfa.zip |
Remove puts in favor of printf.
Allow multiple arguments to ls.
Diffstat (limited to 'sh.c')
-rw-r--r-- | sh.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -51,7 +51,7 @@ main(void) int getcmd(char *buf, int nbuf) { - puts("$ "); + printf(2, "$ "); memset(buf, 0, nbuf); gets(buf, nbuf); if(buf[0] == 0) // EOF |