summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--stream.c3
2 files changed, 7 insertions, 0 deletions
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 @@ int code, arg;
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 @@ int code, arg;
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);