summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/rcs/rcsdiff.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/rcs/rcsdiff.c b/usr.bin/rcs/rcsdiff.c
index 22aa5c93bd5..710fe5b2a85 100644
--- a/usr.bin/rcs/rcsdiff.c
+++ b/usr.bin/rcs/rcsdiff.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcsdiff.c,v 1.7 2005/10/09 20:55:27 niallo Exp $ */
+/* $OpenBSD: rcsdiff.c,v 1.8 2005/10/11 14:27:59 joris Exp $ */
/*
* Copyright (c) 2005 Joris Vink <joris@openbsd.org>
* All rights reserved.
@@ -113,6 +113,8 @@ rcsdiff_main(int argc, char **argv)
else
frev = rev;
+ diff_file = argv[i];
+
if (rev2 == NULL) {
if (rcsdiff_file(file, frev, argv[i]) < 0) {
cvs_log(LP_ERR, "failed to rcsdiff");