summaryrefslogtreecommitdiffstats
path: root/usr.bin/rcs/rcsprog.c
diff options
context:
space:
mode:
authorxsa <xsa@openbsd.org>2005-12-24 16:37:46 +0000
committerxsa <xsa@openbsd.org>2005-12-24 16:37:46 +0000
commit98cfafe257b8747eff828d9369ee305fb1ade858 (patch)
treeb4ae4146de9f50bc508ecfebec23dafc16045775 /usr.bin/rcs/rcsprog.c
parentVery basic sample ipsec.conf, more to come. Has been demanded by deraadt@ for (diff)
downloadwireguard-openbsd-98cfafe257b8747eff828d9369ee305fb1ade858.tar.xz
wireguard-openbsd-98cfafe257b8747eff828d9369ee305fb1ade858.zip
error message consistency in fatal();
Diffstat (limited to 'usr.bin/rcs/rcsprog.c')
-rw-r--r--usr.bin/rcs/rcsprog.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/rcs/rcsprog.c b/usr.bin/rcs/rcsprog.c
index 29a0ff5facd..27bc3d81897 100644
--- a/usr.bin/rcs/rcsprog.c
+++ b/usr.bin/rcs/rcsprog.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcsprog.c,v 1.56 2005/12/24 03:48:09 joris Exp $ */
+/* $OpenBSD: rcsprog.c,v 1.57 2005/12/24 16:37:46 xsa Exp $ */
/*
* Copyright (c) 2005 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -284,7 +284,7 @@ rcs_statfile(char *fname, char *out, size_t len)
} else {
len1 = strlcpy(fpath, filev, sizeof(fpath));
if (len1 >= sizeof(fpath))
- fatal("path truncation in rcs_statfile");
+ fatal("rcs_statfile: path truncation");
}
if ((stat(fpath, &st) != -1) || (rcsflags & RCS_CREATE)) {
@@ -308,7 +308,7 @@ rcs_statfile(char *fname, char *out, size_t len)
len1 = strlcpy(out, fpath, len);
if (len1 >= len)
- fatal("path truncation in rcs_statfile");
+ fatal("rcs_statfile: path truncation");
return (0);
}