From 8adfd9b77845809d68b71c1c2e98eb5ec730bfaa Mon Sep 17 00:00:00 2001 From: tshiozak Date: Thu, 10 Jul 2003 08:50:43 +0000 Subject: make _DIAGNOSTIC happy. --- lib/libc/string/wcstok.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/libc/string') 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 #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 @@ -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) -- cgit