summaryrefslogtreecommitdiff
path: root/usr.bin/script
diff options
context:
space:
mode:
authoryamt <yamt@NetBSD.org>2011-06-08 13:51:13 +0000
committeryamt <yamt@NetBSD.org>2011-06-08 13:51:13 +0000
commitbe614261f1e1c6c97f58c1168c0ea23dd536afa6 (patch)
treeee082533d2f49acd9d9242f79a2e78ba15fbdb6b /usr.bin/script
parentae2e4d90e72d2ec73027d17a18d2754bf32fa0d9 (diff)
err -> errx where appropriate
Diffstat (limited to 'usr.bin/script')
-rw-r--r--usr.bin/script/script.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/script/script.c b/usr.bin/script/script.c
index c84ccc18ac6..6fc32624ca1 100644
--- a/usr.bin/script/script.c
+++ b/usr.bin/script/script.c
@@ -1,4 +1,4 @@
-/* $NetBSD: script.c,v 1.19 2009/10/17 22:36:23 christos Exp $ */
+/* $NetBSD: script.c,v 1.20 2011/06/08 13:51:13 yamt Exp $ */
/*
* Copyright (c) 1980, 1992, 1993
@@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1992, 1993\
#if 0
static char sccsid[] = "@(#)script.c 8.1 (Berkeley) 6/6/93";
#endif
-__RCSID("$NetBSD: script.c,v 1.19 2009/10/17 22:36:23 christos Exp $");
+__RCSID("$NetBSD: script.c,v 1.20 2011/06/08 13:51:13 yamt Exp $");
#endif /* not lint */
#include <sys/types.h>
@@ -385,7 +385,7 @@ playback(FILE *fp)
if (reg && stamp.scr_len >
(uint64_t)(pst.st_size - save_len) - nread)
- err(1, "invalid stamp");
+ errx(1, "invalid stamp");
save_len += stamp.scr_len;
tclock = stamp.scr_sec;
@@ -430,7 +430,7 @@ playback(FILE *fp)
}
break;
default:
- err(1, "invalid direction");
+ errx(1, "invalid direction");
}
}
(void)fclose(fp);