summaryrefslogtreecommitdiff
path: root/usr.bin/rcs/rcsclean.c
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2006-04-25 13:36:37 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2006-04-25 13:36:37 +0000
commite24515166bcbeb276f35021163835860a2f8adde (patch)
tree147f918a7c0bf6561542b4652a3bd4ebd742ba90 /usr.bin/rcs/rcsclean.c
parentd3618a298bb6ba5607916a81de3a4548822aa526 (diff)
fatal() -> err()/errx() as we try to not depend on heavy cvs_log().
OK joriski.
Diffstat (limited to 'usr.bin/rcs/rcsclean.c')
-rw-r--r--usr.bin/rcs/rcsclean.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/rcs/rcsclean.c b/usr.bin/rcs/rcsclean.c
index e7a7e51fdb6..c0a9762c811 100644
--- a/usr.bin/rcs/rcsclean.c
+++ b/usr.bin/rcs/rcsclean.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcsclean.c,v 1.42 2006/04/25 03:21:16 ray Exp $ */
+/* $OpenBSD: rcsclean.c,v 1.43 2006/04/25 13:36:35 xsa Exp $ */
/*
* Copyright (c) 2005 Joris Vink <joris@openbsd.org>
* All rights reserved.
@@ -93,7 +93,7 @@ rcsclean_main(int argc, char **argv)
argv += rcs_optind;
if ((locker = getlogin()) == NULL)
- fatal("getlogin failed");
+ err(1, "getlogin");
if (argc == 0) {
if ((dirp = opendir(".")) == NULL) {