]> granicus.if.org Git - strace/commit
Fix "format not a string literal" warning caused by tprintf(str)
authorDenys Vlasenko <dvlasenk@redhat.com>
Thu, 1 Sep 2011 07:55:05 +0000 (09:55 +0200)
committerDenys Vlasenko <dvlasenk@redhat.com>
Thu, 1 Sep 2011 07:55:05 +0000 (09:55 +0200)
commit5940e6593911dcace424c668a1c0934c71fccb9e
tree612158491814a5c9f5a6a75c95f227fc79ba9e75
parentdfa0acc8c1fc8d287c77f96ace8ac874f09c829a
Fix "format not a string literal" warning caused by tprintf(str)

* defs.h: Declare tprints().
* strace.c: Define tprints().
(tabto): Use tprints(str), since tprintf(str) was throwing a warning.
* desc.c: Use tprints(str) instead of tprintf("%s", str).
* file.c: Likewise.
* io.c: Likewise.
* net.c: Likewise.
* process.c: Likewise.
* signal.c: Likewise.
* syscall.c: Likewise.
* util.c: Likewise.

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
defs.h
desc.c
file.c
io.c
net.c
process.c
signal.c
strace.c
syscall.c
util.c