tidy up decode of streams ioctls a little
diff --git a/ChangeLog b/ChangeLog
index 6dfa9a9..998b037 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2002-05-17 John Hughes <john@calva.com>
+ * stream.c: tidy up output a little.
+
+2002-05-17 John Hughes <john@calva.com>
+
* process.c, svr4/dummy.h, svr4/syscall.h: decode arguments
to procpriv syscall.
diff --git a/stream.c b/stream.c
index 872ba59..94a6096 100644
--- a/stream.c
+++ b/stream.c
@@ -705,8 +705,10 @@
printstrbuf(tcp, &sp.ctlbuf, 1);
tprintf(", databuf=");
printstrbuf(tcp, &sp.databuf, 1);
+ tprintf(", flags=");
if (!printflags(msgflags, sp.flags))
tprintf("0");
+ tprintf("}");
return 1;
case I_SRDOPT:
/* argument is an option with flags */
@@ -756,6 +758,7 @@
printstrbuf(tcp, &sfi.ctlbuf, 1);
tprintf(", databuf=");
printstrbuf(tcp, &sfi.databuf, 1);
+ tprintf(", flags=");
if (!printflags(msgflags, sfi.flags))
tprintf("0");
tprintf(", filedes=%d, offset=%d}", sfi.fildes, sfi.offset);