summaryrefslogtreecommitdiff
path: root/lib/libc/string
diff options
context:
space:
mode:
authortshiozak <tshiozak@NetBSD.org>2003-07-10 08:50:43 +0000
committertshiozak <tshiozak@NetBSD.org>2003-07-10 08:50:43 +0000
commit8adfd9b77845809d68b71c1c2e98eb5ec730bfaa (patch)
tree0606a168ef784ade6d3f6bb032153869e551062d /lib/libc/string
parent895c758622616038eee99e3026f4ab52107acf2f (diff)
make _DIAGNOSTIC happy.
Diffstat (limited to 'lib/libc/string')
-rw-r--r--lib/libc/string/wcstok.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/string/wcstok.c b/lib/libc/string/wcstok.c
index ac54635f203..ee97cb48f70 100644
--- a/lib/libc/string/wcstok.c
+++ b/lib/libc/string/wcstok.c
@@ -1,4 +1,4 @@
-/* $NetBSD: wcstok.c,v 1.2 2003/03/07 06:46:39 tshiozak Exp $ */
+/* $NetBSD: wcstok.c,v 1.3 2003/07/10 08:50:48 tshiozak Exp $ */
/*-
* Copyright (c) 1998 Softweyr LLC. All rights reserved.
@@ -43,7 +43,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: wcstok.c,v 1.2 2003/03/07 06:46:39 tshiozak Exp $");
+__RCSID("$NetBSD: wcstok.c,v 1.3 2003/07/10 08:50:48 tshiozak Exp $");
#endif
#include <assert.h>
@@ -60,7 +60,7 @@ wcstok(s, delim, last)
wchar_t *tok;
/* s may be NULL */
- _DIAGASSERT(delin != NULL);
+ _DIAGASSERT(delim != NULL);
_DIAGASSERT(last != NULL);
if (s == NULL && (s = *last) == NULL)