diff options
-rw-r--r-- | bin/systrace/systrace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/systrace/systrace.c b/bin/systrace/systrace.c index b94c8c0c5d0..7f8002abcca 100644 --- a/bin/systrace/systrace.c +++ b/bin/systrace/systrace.c @@ -1,4 +1,4 @@ -/* $OpenBSD: systrace.c,v 1.35 2002/09/23 04:41:02 itojun Exp $ */ +/* $OpenBSD: systrace.c,v 1.36 2002/10/08 03:13:23 itojun Exp $ */ /* * Copyright 2002 Niels Provos <provos@citi.umich.edu> * All rights reserved. @@ -102,7 +102,7 @@ make_output(char *output, size_t outlen, const char *binname, snprintf(p, size, ", %s: %s", tl->name, line); p = output + strlen(output); - size = sizeof(output) - strlen(output); + size = outlen - strlen(output); if (repl != NULL && tl->trans_size) intercept_replace_add(repl, tl->off, |