diff options
Diffstat (limited to 'usr.sbin/pkg_install/lib/exec.c')
-rw-r--r-- | usr.sbin/pkg_install/lib/exec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pkg_install/lib/exec.c b/usr.sbin/pkg_install/lib/exec.c index 2fefd6006b9..175925c28ed 100644 --- a/usr.sbin/pkg_install/lib/exec.c +++ b/usr.sbin/pkg_install/lib/exec.c @@ -1,7 +1,7 @@ -/* $OpenBSD: exec.c,v 1.2 1996/06/04 08:43:41 niklas Exp $ */ +/* $OpenBSD: exec.c,v 1.3 1998/06/23 23:17:20 millert Exp $ */ #ifndef lint -static const char *rcsid = "$OpenBSD: exec.c,v 1.2 1996/06/04 08:43:41 niklas Exp $"; +static const char *rcsid = "$OpenBSD: exec.c,v 1.3 1998/06/23 23:17:20 millert Exp $"; #endif /* @@ -47,7 +47,7 @@ vsystem(const char *fmt, ...) } va_start(args, fmt); - if (vsnprintf(cmd, maxargs, fmt, args) > maxargs) { + if (vsnprintf(cmd, maxargs, fmt, args) >= maxargs) { whinge("vsystem args are too long"); return 1; } |