diff options
author | ppatience0 <ppatience0@gmail.com> | 2013-05-28 20:06:53 -0400 |
---|---|---|
committer | ppatience0 <ppatience0@gmail.com> | 2013-05-28 20:06:53 -0400 |
commit | 9fee166e100d48cf0ebfc751f68ed5b11e7f7b48 (patch) | |
tree | e5b909e354da70591fca6324f8c0c0d65f3c83a6 | |
parent | 6a0d21acca616aa4cf11468e3dc6f1c052e1d94f (diff) | |
download | plan9front-9fee166e100d48cf0ebfc751f68ed5b11e7f7b48.tar.xz |
io, seg: we should exits(nil) at the end of main
-rw-r--r-- | sys/src/cmd/io.c | 3 | ||||
-rw-r--r-- | sys/src/cmd/seg.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/src/cmd/io.c b/sys/src/cmd/io.c index 59ccf22fd..7670de728 100644 --- a/sys/src/cmd/io.c +++ b/sys/src/cmd/io.c @@ -52,4 +52,5 @@ main(int argc, char** argv) { ((vlong)datab[7] << 56); print("0x%llx\n", data); } -}
\ No newline at end of file + exits(nil); +} diff --git a/sys/src/cmd/seg.c b/sys/src/cmd/seg.c index 367aad988..28a25af05 100644 --- a/sys/src/cmd/seg.c +++ b/sys/src/cmd/seg.c @@ -44,4 +44,5 @@ main(int argc, char** argv) { if(size >= 4) data |= (seg[port+2] << 16) | (seg[port+3] << 24); print("0x%ulx\n", data); } -}
\ No newline at end of file + exits(nil); +} |