]> granicus.if.org Git - strace/commit
strace.c: use *_func_* message printing macros where appropriate
authorEugene Syromiatnikov <esyr@redhat.com>
Fri, 4 Aug 2017 06:55:35 +0000 (08:55 +0200)
committerDmitry V. Levin <ldv@altlinux.org>
Wed, 13 Dec 2017 00:35:31 +0000 (00:35 +0000)
commita1d9d661423246183f68c9946f53e96ee2b5a5dd
tree6d6a1012f58e715c10ab327674b33a57322e62e1
parent0eb82b760f32e789789f8844ffa24bb368613637
strace.c: use *_func_* message printing macros where appropriate

In order to provide some additional bits of information in weird error
cases or just replace existing usages of __func__/literal function name.

* strace.c (detach): Use perror_func_msg() instead of perror_msg().
(startup_attach, open_dummy_desc, startup_child, test_ptrace_seize): Use
perror_func_msg_and_die() instead of perror_msg_and_die().
(test_ptrace_seize): Use error_func_msg_and_die() instead of
error_msg_and_die().
strace.c