From: Wichert Akkerman Date: Sat, 7 Apr 2001 21:41:26 +0000 (+0000) Subject: Fix another typo X-Git-Tag: v4.5.18~1052 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3f389c49dbec6f115bf1f43902965d0836dea1ac;p=strace Fix another typo --- diff --git a/system.c b/system.c index 48d06e28..31768ad0 100644 --- a/system.c +++ b/system.c @@ -2034,8 +2034,8 @@ struct tcb *tcp; if (!verbose(tcp)) { tprintf("%d, %d, %d", tcp->u_arg[1], tcp->u_arg[2], tcp->u_arg[3]); } else if (tcp->u_arg[0]==SETNAME) { - char nodename[__NEW_UTS_LEN_1]; - if (umovestr(tcp, tcp->u_arg[1], (__NEW_UTS_LEN_1), nodename) < 0) + char nodename[__NEW_UTS_LEN+1]; + if (umovestr(tcp, tcp->u_arg[1], (__NEW_UTS_LEN+1), nodename) < 0) tprintf(", %#lx", tcp->u_arg[1]); else tprintf(", \"%s\"", nodename);