diff options
author | Xavier Santolaria <xsa@cvs.openbsd.org> | 2006-04-25 13:36:37 +0000 |
---|---|---|
committer | Xavier Santolaria <xsa@cvs.openbsd.org> | 2006-04-25 13:36:37 +0000 |
commit | e24515166bcbeb276f35021163835860a2f8adde (patch) | |
tree | 147f918a7c0bf6561542b4652a3bd4ebd742ba90 /usr.bin/rcs/rcsdiff.c | |
parent | d3618a298bb6ba5607916a81de3a4548822aa526 (diff) |
fatal() -> err()/errx() as we try to not depend on heavy cvs_log().
OK joriski.
Diffstat (limited to 'usr.bin/rcs/rcsdiff.c')
-rw-r--r-- | usr.bin/rcs/rcsdiff.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/rcs/rcsdiff.c b/usr.bin/rcs/rcsdiff.c index b28f8c28166..d3cc9d20bb3 100644 --- a/usr.bin/rcs/rcsdiff.c +++ b/usr.bin/rcs/rcsdiff.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rcsdiff.c,v 1.55 2006/04/24 08:40:01 jmc Exp $ */ +/* $OpenBSD: rcsdiff.c,v 1.56 2006/04/25 13:36:35 xsa Exp $ */ /* * Copyright (c) 2005 Joris Vink <joris@openbsd.org> * All rights reserved. @@ -119,11 +119,11 @@ rcsdiff_main(int argc, char **argv) if (rev_str1 != NULL) { if ((rev1 = rcs_getrevnum(rev_str1, file)) == NULL) - fatal("bad revision number"); + errx(1, "bad revision number"); } if (rev_str2 != NULL) { if ((rev2 = rcs_getrevnum(rev_str2, file)) == NULL) - fatal("bad revision number"); + errx(1, "bad revision number"); } if (!(flags & QUIET)) { |