summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorppatience0 <ppatience0@gmail.com>2013-05-28 20:06:53 -0400
committerppatience0 <ppatience0@gmail.com>2013-05-28 20:06:53 -0400
commit9fee166e100d48cf0ebfc751f68ed5b11e7f7b48 (patch)
treee5b909e354da70591fca6324f8c0c0d65f3c83a6
parent6a0d21acca616aa4cf11468e3dc6f1c052e1d94f (diff)
downloadplan9front-9fee166e100d48cf0ebfc751f68ed5b11e7f7b48.tar.xz
io, seg: we should exits(nil) at the end of main
-rw-r--r--sys/src/cmd/io.c3
-rw-r--r--sys/src/cmd/seg.c3
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);
+}