diff options
author | John Hughes <john@Calva.COM> | 2002-05-17 11:41:35 +0000 |
---|---|---|
committer | John Hughes <john@Calva.COM> | 2002-05-17 11:41:35 +0000 |
commit | fd15cb31adf1c38c2b5524253a50e5646c7b08ce (patch) | |
tree | fffa14c89a5e9a5c61f87ac978a0c672180ffbcc /stream.c | |
parent | c61eb3dce2a87f8220c64404e9c2309f877da455 (diff) | |
download | strace-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.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); |