]> mj.ucw.cz Git - libucw.git/blobdiff - lib/lizard-test.c
The asio.test should be performed only in threaded mode.
[libucw.git] / lib / lizard-test.c
index 22fc96e49a60cf69a4f7976c3d2bf5b9f8e7742c..3973cfcd8d4197701b46a3bf026976505dc1f45f 100644 (file)
@@ -1,12 +1,11 @@
 #include "lib/lib.h"
-#include "lib/conf2.h"
+#include "lib/getopt.h"
 #include "lib/fastbuf.h"
 #include "lib/lizard.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <fcntl.h>
 #include <unistd.h>
-#include <getopt.h>
 #include <sys/user.h>
 
 static char *options = CF_SHORT_OPTS "cdtx";
@@ -35,7 +34,7 @@ main(int argc, char **argv)
   uns action = 't';
   uns crash = 0;
   log_init(argv[0]);
-  while ((opt = cf_get_opt(argc, argv, options, CF_NO_LONG_OPTS, NULL)) >= 0)
+  while ((opt = cf_getopt(argc, argv, options, CF_NO_LONG_OPTS, NULL)) >= 0)
     switch (opt)
     {
       case 'c':