Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/script err -> errx where appropriate
details: https://anonhg.NetBSD.org/src/rev/e9c0dcb0a704
branches: trunk
changeset: 765868:e9c0dcb0a704
user: yamt <yamt%NetBSD.org@localhost>
date: Wed Jun 08 13:51:13 2011 +0000
description:
err -> errx where appropriate
diffstat:
usr.bin/script/script.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r b01bd61d1021 -r e9c0dcb0a704 usr.bin/script/script.c
--- a/usr.bin/script/script.c Wed Jun 08 12:49:45 2011 +0000
+++ b/usr.bin/script/script.c Wed Jun 08 13:51:13 2011 +0000
@@ -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);
Home |
Main Index |
Thread Index |
Old Index