summaryrefslogtreecommitdiff
path: root/sys/src/cmd/seg.c
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 /sys/src/cmd/seg.c
parent6a0d21acca616aa4cf11468e3dc6f1c052e1d94f (diff)
io, seg: we should exits(nil) at the end of main
Diffstat (limited to 'sys/src/cmd/seg.c')
-rw-r--r--sys/src/cmd/seg.c3
1 files changed, 2 insertions, 1 deletions
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);
+}