summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install/lib/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pkg_install/lib/exec.c')
-rw-r--r--usr.sbin/pkg_install/lib/exec.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/pkg_install/lib/exec.c b/usr.sbin/pkg_install/lib/exec.c
index aa0a68c9602..25fa5caf7c4 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.5 1998/10/13 23:09:52 marc Exp $ */
+/* $OpenBSD: exec.c,v 1.6 2001/04/08 16:45:47 espie Exp $ */
#ifndef lint
-static const char *rcsid = "$OpenBSD: exec.c,v 1.5 1998/10/13 23:09:52 marc Exp $";
+static const char *rcsid = "$OpenBSD: exec.c,v 1.6 2001/04/08 16:45:47 espie Exp $";
#endif
/*
@@ -43,13 +43,13 @@ vsystem(const char *fmt, ...)
maxargs = (size_t) sysconf(_SC_ARG_MAX);
maxargs -= 32; /* some slop for the sh -c */
if ((cmd = (char *) malloc(maxargs)) == (char *) NULL) {
- warnx("vsystem can't alloc arg space");
+ pwarnx("vsystem can't alloc arg space");
return 1;
}
va_start(args, fmt);
if (vsnprintf(cmd, maxargs, fmt, args) > maxargs) {
- warnx("vsystem args are too long");
+ pwarnx("vsystem args are too long");
return 1;
}
#ifdef DEBUG