summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/rcsnum.c
diff options
context:
space:
mode:
authorRay Lai <ray@cvs.openbsd.org>2006-03-11 06:28:50 +0000
committerRay Lai <ray@cvs.openbsd.org>2006-03-11 06:28:50 +0000
commit1c03334cd199e6d6c4e67df66453ee527bf436ea (patch)
tree8dc5f2c6bf5d0c8c91ae4b736eed25a7f021c5c0 /usr.bin/cvs/rcsnum.c
parentd2e9b2643feb2b75787bb8706c82ead9216efc21 (diff)
Fix rcsnum_tostr() description.
ok joris
Diffstat (limited to 'usr.bin/cvs/rcsnum.c')
-rw-r--r--usr.bin/cvs/rcsnum.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/cvs/rcsnum.c b/usr.bin/cvs/rcsnum.c
index 9b688025d48..85ae275ba6a 100644
--- a/usr.bin/cvs/rcsnum.c
+++ b/usr.bin/cvs/rcsnum.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcsnum.c,v 1.24 2006/01/28 14:09:34 niallo Exp $ */
+/* $OpenBSD: rcsnum.c,v 1.25 2006/03/11 06:28:49 ray Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -94,7 +94,8 @@ rcsnum_free(RCSNUM *rn)
* Format the RCS number <nump> into a human-readable dot-separated
* representation and store the resulting string in <buf>, which is of size
* <blen>.
- * Returns a pointer to the start of <buf> on success, or NULL on failure.
+ * Returns a pointer to the start of <buf>. On failure <buf> is set to
+ * an empty string.
*/
char *
rcsnum_tostr(const RCSNUM *nump, char *buf, size_t blen)