summaryrefslogtreecommitdiff
path: root/stream.c
diff options
context:
space:
mode:
authorJohn Hughes <john@Calva.COM>2002-05-17 11:41:35 +0000
committerJohn Hughes <john@Calva.COM>2002-05-17 11:41:35 +0000
commitfd15cb31adf1c38c2b5524253a50e5646c7b08ce (patch)
treefffa14c89a5e9a5c61f87ac978a0c672180ffbcc /stream.c
parentc61eb3dce2a87f8220c64404e9c2309f877da455 (diff)
downloadstrace-fd15cb31adf1c38c2b5524253a50e5646c7b08ce.tar.gz
strace-fd15cb31adf1c38c2b5524253a50e5646c7b08ce.tar.bz2
strace-fd15cb31adf1c38c2b5524253a50e5646c7b08ce.tar.xz
tidy up decode of streams ioctls a little
Diffstat (limited to 'stream.c')
-rw-r--r--stream.c3
1 files changed, 3 insertions, 0 deletions
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);