summaryrefslogtreecommitdiff
path: root/system.c
diff options
context:
space:
mode:
authorWichert Akkerman <wichert@deephackmode.org>2001-04-07 21:41:26 +0000
committerWichert Akkerman <wichert@deephackmode.org>2001-04-07 21:41:26 +0000
commit3f389c49dbec6f115bf1f43902965d0836dea1ac (patch)
tree5b15334ed3afe6c671a9138639008b5e3eb2f53b /system.c
parentd6b924937038457f83b47b26b9163bdfbdc230f2 (diff)
downloadstrace-3f389c49dbec6f115bf1f43902965d0836dea1ac.tar.gz
strace-3f389c49dbec6f115bf1f43902965d0836dea1ac.tar.bz2
strace-3f389c49dbec6f115bf1f43902965d0836dea1ac.tar.xz
Fix another typo
Diffstat (limited to 'system.c')
-rw-r--r--system.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/system.c b/system.c
index 48d06e2..31768ad 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);