]> granicus.if.org Git - strace/commitdiff
sock: use error_func_msg for printing function name
authorEugene Syromyatnikov <evgsyr@gmail.com>
Wed, 2 May 2018 18:58:49 +0000 (20:58 +0200)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 3 May 2018 00:09:53 +0000 (00:09 +0000)
* sock.c (decode_ifconf): Use error_func_msg instead of error_msg with
manual function name printing.

sock.c

diff --git a/sock.c b/sock.c
index cd13de48da241377ff795e20a586b787497417fd..7361a7df46e653288119a7ce6a8b7358be1c6119 100644 (file)
--- a/sock.c
+++ b/sock.c
@@ -173,7 +173,7 @@ decode_ifconf(struct tcb *const tcp, const kernel_ulong_t addr)
                entering_ifc = get_tcb_priv_data(tcp);
 
                if (!entering_ifc) {
-                       error_msg("decode_ifconf: where is my ifconf?");
+                       error_func_msg("where is my ifconf?");
                        return 0;
                }
        }