summaryrefslogtreecommitdiff
path: root/usr.bin/rcs
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2007-08-27 19:18:06 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2007-08-27 19:18:06 +0000
commit7c2b325da7734bb3e0fd9d4e92cde7c44fb85895 (patch)
tree8a62d797d832e30881caf15936d128d8c1b8a6c3 /usr.bin/rcs
parent5ebd37a2394795894d9443056ce29aa8fda5ea34 (diff)
typo in error msg; from Igor Zinovik.
Diffstat (limited to 'usr.bin/rcs')
-rw-r--r--usr.bin/rcs/rcs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/rcs/rcs.c b/usr.bin/rcs/rcs.c
index 947b85ae2e1..332d5c43d9d 100644
--- a/usr.bin/rcs/rcs.c
+++ b/usr.bin/rcs/rcs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcs.c,v 1.41 2007/07/03 00:56:23 ray Exp $ */
+/* $OpenBSD: rcs.c,v 1.42 2007/08/27 19:18:05 xsa Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -1726,7 +1726,7 @@ rcs_parse_init(RCSFILE *rfp)
pdp->rp_pttype = RCS_TOK_ERR;
if ((pdp->rp_file = fdopen(rfp->rf_fd, "r")) == NULL)
- err(1, "fopen: `%s'", rfp->rf_path);
+ err(1, "fdopen: `%s'", rfp->rf_path);
pdp->rp_buf = xmalloc((size_t)RCS_BUFSIZE);
pdp->rp_blen = RCS_BUFSIZE;