From ae156be6aadb7b4ca6db8584cf5c9e957df916ed Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Tue, 18 Aug 2015 11:26:00 -0700 Subject: [PATCH] configure: cleanup strsep() test case Signed-off-by: Jens Axboe --- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 64323368..ee096b3a 100755 --- a/configure +++ b/configure @@ -939,7 +939,8 @@ cat > $TMPC << EOF #include int main(int argc, char **argv) { - strsep(NULL, NULL); + static char *string = "This is a string"; + strsep(&string, "needle"); return 0; } EOF -- 2.25.1