Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/sort use errx(), not err() within section for '-t' flag
details: https://anonhg.NetBSD.org/src/rev/e153c3cb2ab6
branches: trunk
changeset: 503522:e153c3cb2ab6
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Wed Feb 07 19:47:44 2001 +0000
description:
use errx(), not err() within section for '-t' flag
diffstat:
usr.bin/sort/sort.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r cdb04cb8f940 -r e153c3cb2ab6 usr.bin/sort/sort.c
--- a/usr.bin/sort/sort.c Wed Feb 07 18:32:21 2001 +0000
+++ b/usr.bin/sort/sort.c Wed Feb 07 19:47:44 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sort.c,v 1.18 2001/01/13 20:21:56 soren Exp $ */
+/* $NetBSD: sort.c,v 1.19 2001/02/07 19:47:44 jdolecek Exp $ */
/*-
* Copyright (c) 1993
@@ -51,7 +51,7 @@
#endif /* not lint */
#ifndef lint
-__RCSID("$NetBSD: sort.c,v 1.18 2001/01/13 20:21:56 soren Exp $");
+__RCSID("$NetBSD: sort.c,v 1.19 2001/02/07 19:47:44 jdolecek Exp $");
__SCCSID("@(#)sort.c 8.1 (Berkeley) 6/6/93");
#endif /* not lint */
@@ -157,7 +157,7 @@
d_mask['\t'] &= ~FLD_D;
d_mask[(u_char)*optarg] |= FLD_D;
if (d_mask[(u_char)*optarg] & REC_D_F)
- err(2, "record/field delimiter clash");
+ errx(2, "record/field delimiter clash");
break;
case 'T':
if (REC_D != '\n')
Home |
Main Index |
Thread Index |
Old Index