]> granicus.if.org Git - strace/blobdiff - syscall.c
Fix "format not a string literal" warning caused by tprintf(str)
[strace] / syscall.c
index b21ce01925f22145fcdc0a1bd1727d10d3627997..02dce959c7860a8d2f15008f12040e2040bd3af2 100644 (file)
--- a/syscall.c
+++ b/syscall.c
@@ -683,7 +683,7 @@ sys_indir(struct tcb *tcp)
                        return 0;
                }
                nargs = sysent[scno].nargs;
-               tprintf("%s", sysent[scno].sys_name);
+               tprints(sysent[scno].sys_name);
                for (i = 0; i < nargs; i++)
                        tprintf(", %#lx", tcp->u_arg[i+1]);
        }