summaryrefslogtreecommitdiff
path: root/usr.bin/rcs/rcsclean.c
diff options
context:
space:
mode:
authorRay Lai <ray@cvs.openbsd.org>2010-07-28 09:07:12 +0000
committerRay Lai <ray@cvs.openbsd.org>2010-07-28 09:07:12 +0000
commit71174d720ad3343d8022707c4204f5548c5a67a0 (patch)
tree687a5cd798285903ca1b1233789e5c17dfe11a0b /usr.bin/rcs/rcsclean.c
parentd96302d301c0d5562709c6ed3a90bd8bd2ab581f (diff)
Make BUFs autoextend by default. This was already done in OpenCVS
a while ago. OK zinovik nicm
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 f4cd973b739..80b7d2af75f 100644
--- a/usr.bin/rcs/rcsclean.c
+++ b/usr.bin/rcs/rcsclean.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcsclean.c,v 1.51 2010/07/23 21:46:05 ray Exp $ */
+/* $OpenBSD: rcsclean.c,v 1.52 2010/07/28 09:07:11 ray Exp $ */
/*
* Copyright (c) 2005 Joris Vink <joris@openbsd.org>
* All rights reserved.
@@ -165,7 +165,7 @@ rcsclean_file(char *fname, const char *rev_str)
warnx("failed to get needed revision");
goto out;
}
- if ((b2 = buf_load(fname, 0)) == NULL) {
+ if ((b2 = buf_load(fname)) == NULL) {
warnx("failed to load `%s'", fname);
goto out;
}