summaryrefslogtreecommitdiff
path: root/usr.bin/rcs/rlog.c
diff options
context:
space:
mode:
authorRay Lai <ray@cvs.openbsd.org>2006-04-14 15:04:37 +0000
committerRay Lai <ray@cvs.openbsd.org>2006-04-14 15:04:37 +0000
commitf4991f7bc9f0780a719753cb18f33e36d05805ab (patch)
treefe560e1f8d07329579fcc078a548f413fcfe722d /usr.bin/rcs/rlog.c
parent9f2cc3b0c0b7425c1fbfff578ce7ab0e38dc86e9 (diff)
Remove extraneous argument from rlog_file().
OK joris@
Diffstat (limited to 'usr.bin/rcs/rlog.c')
-rw-r--r--usr.bin/rcs/rlog.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/rcs/rlog.c b/usr.bin/rcs/rlog.c
index b120467f20f..5f48ca619df 100644
--- a/usr.bin/rcs/rlog.c
+++ b/usr.bin/rcs/rlog.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rlog.c,v 1.42 2006/04/14 15:02:15 ray Exp $ */
+/* $OpenBSD: rlog.c,v 1.43 2006/04/14 15:04:36 ray Exp $ */
/*
* Copyright (c) 2005 Joris Vink <joris@openbsd.org>
* Copyright (c) 2005, 2006 Xavier Santolaria <xsa@openbsd.org>
@@ -30,7 +30,7 @@
#include "rcsprog.h"
#include "diff.h"
-static void rlog_file(const char *, const char *);
+static void rlog_file(const char *);
static void rlog_rev_print(struct rcs_delta *);
static u_int rlog_rev_select(void);
@@ -152,7 +152,7 @@ rlog_main(int argc, char **argv)
continue;
}
- rlog_file(argv[i], fpath);
+ rlog_file(argv[i]);
rcs_close(file);
}
@@ -161,7 +161,7 @@ rlog_main(int argc, char **argv)
}
static void
-rlog_file(const char *fname, const char *fpath)
+rlog_file(const char *fname)
{
char numb[64];
u_int nrev;
@@ -175,7 +175,7 @@ rlog_file(const char *fname, const char *fpath)
else
nrev = file->rf_ndelta;
- printf("\nRCS file: %s", fpath);
+ printf("\nRCS file: %s", file->rf_path);
printf("\nWorking file: %s", fname);
printf("\nhead:");
if (file->rf_head != NULL)