summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpat <pat@openbsd.org>2006-04-14 00:22:46 +0000
committerpat <pat@openbsd.org>2006-04-14 00:22:46 +0000
commit4a657af9416696b16b57ba80d0f78f564f079daa (patch)
tree8050506e7c86b9b8a63d18feb3ff6a6f406e5790
parentChange rcs_parse_init() to return void, since it always returned 0. (diff)
downloadwireguard-openbsd-4a657af9416696b16b57ba80d0f78f564f079daa.tar.xz
wireguard-openbsd-4a657af9416696b16b57ba80d0f78f564f079daa.zip
Fix a typo introduced in rev 1.135; ok ray@
-rw-r--r--usr.bin/rcs/ci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/rcs/ci.c b/usr.bin/rcs/ci.c
index b07a457299b..bd6b5cf1b24 100644
--- a/usr.bin/rcs/ci.c
+++ b/usr.bin/rcs/ci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ci.c,v 1.145 2006/04/13 16:20:28 ray Exp $ */
+/* $OpenBSD: ci.c,v 1.146 2006/04/14 00:22:46 pat Exp $ */
/*
* Copyright (c) 2005, 2006 Niall O'Higgins <niallo@openbsd.org>
* All rights reserved.
@@ -1026,7 +1026,7 @@ checkin_parsekeyword(char *keystring, RCSNUM **rev, time_t *date,
fatal("could not parse rcsnum");
}
*author = xstrdup(tokens[5]);
- *author = xstrdup(tokens[6]);
+ *state = xstrdup(tokens[6]);
len = strlen(tokens[3]) + strlen(tokens[4]) + 2;
datestring = xmalloc(len);
strlcpy(datestring, tokens[3], len);