summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2003-05-07 22:38:07 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2003-05-07 22:38:07 +0000
commitc43f2054db0d741281d16763518f2ef05135d569 (patch)
tree7146e61a46297a7d35f4bfa81f935065f5518542
parentdfda182a349d83e11814a7746de80237a8c66e74 (diff)
fix an err() that should be errx()
-rw-r--r--usr.bin/xinstall/xinstall.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/xinstall/xinstall.c b/usr.bin/xinstall/xinstall.c
index 8115450cd4e..25d4b5ec8a2 100644
--- a/usr.bin/xinstall/xinstall.c
+++ b/usr.bin/xinstall/xinstall.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xinstall.c,v 1.31 2002/02/16 21:27:59 millert Exp $ */
+/* $OpenBSD: xinstall.c,v 1.32 2003/05/07 22:38:06 millert Exp $ */
/* $NetBSD: xinstall.c,v 1.9 1995/12/20 10:25:17 jonathan Exp $ */
/*
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)xinstall.c 8.1 (Berkeley) 7/21/93";
#endif
-static char rcsid[] = "$OpenBSD: xinstall.c,v 1.31 2002/02/16 21:27:59 millert Exp $";
+static char rcsid[] = "$OpenBSD: xinstall.c,v 1.32 2003/05/07 22:38:06 millert Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -193,7 +193,7 @@ main(argc, argv)
/* can't do file1 file2 directory/file */
if (argc != 2)
- err(EX_OSERR, "Target: %s", argv[argc-1]);
+ errx(EX_OSERR, "Target: %s", argv[argc-1]);
if (!no_target) {
if (stat(*argv, &from_sb))