From c43f2054db0d741281d16763518f2ef05135d569 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Wed, 7 May 2003 22:38:07 +0000 Subject: fix an err() that should be errx() --- usr.bin/xinstall/xinstall.c | 6 +++--- 1 file 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 @@ -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)) -- cgit v1.2.3