]> Zhao Yanbai Git Server - minix.git/commitdiff
getsubopt: use regular assert()s
authorBen Gras <ben@minix3.org>
Sat, 26 Jun 2010 02:37:17 +0000 (02:37 +0000)
committerBen Gras <ben@minix3.org>
Sat, 26 Jun 2010 02:37:17 +0000 (02:37 +0000)
lib/libc/other/getsubopt.c

index 765f595624e71184cb25ec35f5a71fc1aff479e2..b50ee66494346f4e4056af7874669f510c04a937 100644 (file)
@@ -54,8 +54,8 @@ getsubopt(optionp, tokens, valuep)
        int cnt;
        char *p;
 
-       _DIAGASSERT(tokens != NULL);
-       _DIAGASSERT(valuep != NULL);
+       assert(tokens != NULL);
+       assert(valuep != NULL);
        /* optionp is tested below */
 
        suboptarg = *valuep = NULL;