From 3f389c49dbec6f115bf1f43902965d0836dea1ac Mon Sep 17 00:00:00 2001 From: Wichert Akkerman Date: Sat, 7 Apr 2001 21:41:26 +0000 Subject: [PATCH] Fix another typo --- system.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.40.0