diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2013-02-26 12:30:09 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2013-02-26 12:30:09 +0100 |
commit | 905e8e0e2f0a1f51ab92424dcb005885ea8b2459 (patch) | |
tree | aec55fed1263ba64e88ce59321d1c6760e91767a /syscall.c | |
parent | 1d58fe9b3b925735bde72cac96a042b3cef03037 (diff) | |
download | strace-905e8e0e2f0a1f51ab92424dcb005885ea8b2459.tar.gz strace-905e8e0e2f0a1f51ab92424dcb005885ea8b2459.tar.bz2 strace-905e8e0e2f0a1f51ab92424dcb005885ea8b2459.tar.xz |
Mass replace error_msg("%s", "literal") -> error_msg("literal")
There is no need to print literal strings through "%s".
Only untrusted strings such as filenames need that.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'syscall.c')
-rw-r--r-- | syscall.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1076,7 +1076,7 @@ get_scno(struct tcb *tcp) errno = 0; opcode = ptrace(PTRACE_PEEKTEXT, tcp->pid, (char *)(psw - sizeof(long)), 0); if (errno) { - perror_msg("%s", "peektext(psw-oneword)"); + perror_msg("peektext(psw-oneword)"); return -1; } |