From: John Hughes Date: Fri, 17 May 2002 11:41:35 +0000 (+0000) Subject: tidy up decode of streams ioctls a little X-Git-Tag: v4.5.18~984 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fd15cb31adf1c38c2b5524253a50e5646c7b08ce;p=strace tidy up decode of streams ioctls a little --- diff --git a/ChangeLog b/ChangeLog index 6dfa9a97..998b037e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2002-05-17 John Hughes + + * stream.c: tidy up output a little. + 2002-05-17 John Hughes * process.c, svr4/dummy.h, svr4/syscall.h: decode arguments diff --git a/stream.c b/stream.c index 872ba594..94a6096f 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);