summaryrefslogtreecommitdiffstats
path: root/usr.bin/cvs/diff.c
diff options
context:
space:
mode:
authorxsa <xsa@openbsd.org>2006-01-30 17:58:47 +0000
committerxsa <xsa@openbsd.org>2006-01-30 17:58:47 +0000
commit66c1e2ea26610b20517f2a14bbdd0ec09ee874eb (patch)
treea242c3d575ef42008f644d5c74e0d4a932fd5a0b /usr.bin/cvs/diff.c
parentsync (diff)
downloadwireguard-openbsd-66c1e2ea26610b20517f2a14bbdd0ec09ee874eb.tar.xz
wireguard-openbsd-66c1e2ea26610b20517f2a14bbdd0ec09ee874eb.zip
strerror() -> rcs_errstr() when passing rcs_errno as argument;
Diffstat (limited to 'usr.bin/cvs/diff.c')
-rw-r--r--usr.bin/cvs/diff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/diff.c b/usr.bin/cvs/diff.c
index 3fce160672d..5b1bb62a748 100644
--- a/usr.bin/cvs/diff.c
+++ b/usr.bin/cvs/diff.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: diff.c,v 1.78 2006/01/27 15:26:38 xsa Exp $ */
+/* $OpenBSD: diff.c,v 1.79 2006/01/30 17:58:47 xsa Exp $ */
/*
* Copyright (C) Caldera International Inc. 2001-2002.
* All rights reserved.
@@ -574,7 +574,7 @@ cvs_diff_local(CVSFILE *cf, void *arg)
if ((rf = rcs_open(rcspath, RCS_READ)) == NULL)
fatal("cvs_diff_local: rcs_open `%s': %s", rcspath,
- strerror(rcs_errno));
+ rcs_errstr(rcs_errno));
cvs_printf("Index: %s\n%s\nRCS file: %s\n", diff_file,
RCS_DIFF_DIV, rcspath);