]> granicus.if.org Git - strace/commitdiff
tidy up decode of streams ioctls a little
authorJohn Hughes <john@Calva.COM>
Fri, 17 May 2002 11:41:35 +0000 (11:41 +0000)
committerJohn Hughes <john@Calva.COM>
Fri, 17 May 2002 11:41:35 +0000 (11:41 +0000)
ChangeLog
stream.c

index 6dfa9a978f46c1ddb389c4203c266795747796c3..998b037e8fd7c8a605e91ec04f50cce43e6f678d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+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
index 872ba5947c90c3a55420c15782eac28fbca0ef03..94a6096fe047bb0484aea2c1ef9a8156e371fa25 100644 (file)
--- 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);