Module Name: src
Committed By: yamt
Date: Wed Jun 8 13:51:13 UTC 2011
Modified Files:
src/usr.bin/script: script.c
Log Message:
err -> errx where appropriate
To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/usr.bin/script/script.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/script/script.c
diff -u src/usr.bin/script/script.c:1.19 src/usr.bin/script/script.c:1.20
--- src/usr.bin/script/script.c:1.19 Sat Oct 17 22:36:23 2009
+++ src/usr.bin/script/script.c Wed Jun 8 13:51:13 2011
@@ -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 @@
#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 @@
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 @@
}
break;
default:
- err(1, "invalid direction");
+ errx(1, "invalid direction");
}
}
(void)fclose(fp);