summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-07-12 18:05:16 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-07-12 18:05:16 +0000
commitadc79b87eeb37567b18cdb8a13769baf19003e5c (patch)
tree719e3f4efec405583ee794a24a9fe2b6e7b6a87a /usr.bin
parentd92597a10b9ae39fbe13017690f2012fd7b2fecd (diff)
fix printing glitch
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/passwd/yp_passwd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/passwd/yp_passwd.c b/usr.bin/passwd/yp_passwd.c
index 67b622c7af2..1aed72f99a8 100644
--- a/usr.bin/passwd/yp_passwd.c
+++ b/usr.bin/passwd/yp_passwd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: yp_passwd.c,v 1.10 1998/02/24 20:46:17 deraadt Exp $ */
+/* $OpenBSD: yp_passwd.c,v 1.11 1998/07/12 18:05:15 deraadt Exp $ */
/*
* Copyright (c) 1988 The Regents of the University of California.
@@ -34,7 +34,7 @@
*/
#ifndef lint
/*static char sccsid[] = "from: @(#)yp_passwd.c 1.0 2/2/93";*/
-static char rcsid[] = "$OpenBSD: yp_passwd.c,v 1.10 1998/02/24 20:46:17 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: yp_passwd.c,v 1.11 1998/07/12 18:05:15 deraadt Exp $";
#endif /* not lint */
#ifdef YP
@@ -72,7 +72,7 @@ pw_error(name, err, eval)
int err, eval;
{
if(err)
- warn(name != NULL ? name : "");
+ warn(name);
warnx("YP passwd database unchanged.");
exit(eval);