summaryrefslogtreecommitdiffstats
path: root/caesar
diff options
context:
space:
mode:
authorrillig <rillig@NetBSD.org>2005-11-19 14:22:21 +0000
committerrillig <rillig@NetBSD.org>2005-11-19 14:22:21 +0000
commit3c3698066dc30e58a8df08ef915556b1836edb19 (patch)
tree95e17c5934785c680c2058194c1f617486876a19 /caesar
parent3063c1ed4e9c87890c5edc70765d155e601a683a (diff)
downloadbsdgames-darwin-3c3698066dc30e58a8df08ef915556b1836edb19.tar.gz
bsdgames-darwin-3c3698066dc30e58a8df08ef915556b1836edb19.tar.zst
bsdgames-darwin-3c3698066dc30e58a8df08ef915556b1836edb19.zip
Replaced one instance of err() with errx(), as the value of errno might not
be correct at that time.
Diffstat (limited to 'caesar')
-rw-r--r--caesar/caesar.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/caesar/caesar.c b/caesar/caesar.c
index e608573b..63b8a553 100644
--- a/caesar/caesar.c
+++ b/caesar/caesar.c
@@ -1,4 +1,4 @@
-/* $NetBSD: caesar.c,v 1.19 2005/10/18 20:13:04 rillig Exp $ */
+/* $NetBSD: caesar.c,v 1.20 2005/11/19 14:22:21 rillig Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -48,7 +48,7 @@ __COPYRIGHT("@(#) Copyright (c) 1989, 1993\n\
#if 0
static char sccsid[] = "@(#)caesar.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: caesar.c,v 1.19 2005/10/18 20:13:04 rillig Exp $");
+__RCSID("$NetBSD: caesar.c,v 1.20 2005/11/19 14:22:21 rillig Exp $");
#endif
#endif /* not lint */
@@ -208,7 +208,7 @@ main(int argc, char **argv)
(void)fflush(stdout);
if (ferror(stdout)) {
- err(EXIT_FAILURE, "<stdout>");
+ errx(EXIT_FAILURE, "<stdout>");
/* NOTREACHED */
}