~mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
base/ct.[ch]: Set the return type of `ct_pick' correctly.
[catacomb]
/
progs
/
perftest.c
diff --git
a/progs/perftest.c
b/progs/perftest.c
index
6af4d51
..
b4a88ca
100644
(file)
--- a/
progs/perftest.c
+++ b/
progs/perftest.c
@@
-51,6
+51,7
@@
#include <mLib/alloc.h>
#include <mLib/bits.h>
#include <mLib/dstr.h>
#include <mLib/alloc.h>
#include <mLib/bits.h>
#include <mLib/dstr.h>
+#include <mLib/macros.h>
#include <mLib/mdwopt.h>
#include <mLib/quis.h>
#include <mLib/report.h>
#include <mLib/mdwopt.h>
#include <mLib/quis.h>
#include <mLib/report.h>
@@
-979,7
+980,7
@@
int main(int argc, char *argv[])
if (optind + 1 != argc) { usage(stderr); exit(1); }
for (j = jobtab; j->name; j++)
if (optind + 1 != argc) { usage(stderr); exit(1); }
for (j = jobtab; j->name; j++)
- if (
strcmp(j->name, argv[optind]) == 0
) break;
+ if (
STRCMP(j->name, ==, argv[optind])
) break;
if (!j->name) die(1, "unknown job type `%s'", argv[optind]);
p = j->init(&o);
if (!j->name) die(1, "unknown job type `%s'", argv[optind]);
p = j->init(&o);