From be614261f1e1c6c97f58c1168c0ea23dd536afa6 Mon Sep 17 00:00:00 2001 From: yamt Date: Wed, 8 Jun 2011 13:51:13 +0000 Subject: err -> errx where appropriate --- usr.bin/script/script.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'usr.bin/script/script.c') 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 @@ -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); -- cgit