summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornaddy <naddy@openbsd.org>2020-10-14 20:07:19 +0000
committernaddy <naddy@openbsd.org>2020-10-14 20:07:19 +0000
commit0d9cd38ceb1e2500cf8e5ab0c667edffcbe4c066 (patch)
tree541ba4a23f3b61f640888349af826d156e9b3cdc
parentAccommodate a basename(3) that takes a non-const parameter and may (diff)
downloadwireguard-openbsd-0d9cd38ceb1e2500cf8e5ab0c667edffcbe4c066.tar.xz
wireguard-openbsd-0d9cd38ceb1e2500cf8e5ab0c667edffcbe4c066.zip
typo in error message
-rw-r--r--usr.bin/rcs/rcsutil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/rcs/rcsutil.c b/usr.bin/rcs/rcsutil.c
index af002852ce9..c423b220bff 100644
--- a/usr.bin/rcs/rcsutil.c
+++ b/usr.bin/rcs/rcsutil.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcsutil.c,v 1.46 2017/08/29 16:47:33 otto Exp $ */
+/* $OpenBSD: rcsutil.c,v 1.47 2020/10/14 20:07:19 naddy Exp $ */
/*
* Copyright (c) 2005, 2006 Joris Vink <joris@openbsd.org>
* Copyright (c) 2006 Xavier Santolaria <xsa@openbsd.org>
@@ -227,7 +227,7 @@ rcs_choosefile(const char *filename, char *out, size_t len)
err(1, "%s", rcspath);
if (strlcpy(out, rcspath, len) >= len)
- errx(1, "rcs_choosefile; truncation");
+ errx(1, "rcs_choosefile: truncation");
free(suffixes);
return (fd);