configure: cleanup strsep() test case
[fio.git] / configure
index 64323368fd00ae9f729c48ee8b10812706d96994..ee096b3ae68143fd0e7d7592d22a2aa831f614a4 100755 (executable)
--- a/configure
+++ b/configure
@@ -939,7 +939,8 @@ cat > $TMPC << EOF
 #include <string.h>
 int main(int argc, char **argv)
 {
-  strsep(NULL, NULL);
+  static char *string = "This is a string";
+  strsep(&string, "needle");
   return 0;
 }
 EOF