From: Dmitry V. Levin Date: Fri, 16 Aug 2019 10:57:45 +0000 (+0000) Subject: umoven: use error_func_msg instead of error_msg X-Git-Tag: v5.3~42 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cd3ca5d2caa5b9eda77df62418852e6b938e2a5a;p=strace umoven: use error_func_msg instead of error_msg * ucopy.c (umoven): Use error_func_msg instead of error_msg. --- diff --git a/ucopy.c b/ucopy.c index fa1bcd49..75b28e41 100644 --- a/ucopy.c +++ b/ucopy.c @@ -151,8 +151,8 @@ umoven(struct tcb *const tcp, kernel_ulong_t addr, unsigned int len, if ((unsigned int) r == len) return 0; if (r >= 0) { - error_msg("umoven: short read (%u < %u) @0x%" PRI_klx, - (unsigned int) r, len, addr); + error_func_msg("short read (%u < %u) @0x%" PRI_klx, + (unsigned int) r, len, addr); return -1; } switch (errno) {