Commit 77692bd7 authored by Mark Andrews's avatar Mark Andrews

genreport -T reported non types

parent ed578d2f
Pipeline #13523 passed with stages
in 1 minute and 11 seconds
......@@ -3988,7 +3988,7 @@ main(int argc, char **argv) {
case 't': what = TYPE; serial = 1; break;
case 'T': what = TYPE;
for (i = 0; i < sizeof(opts)/sizeof(opts[0]); i++) {
if (opts[i].what != 0 && (opts[i].what & what) == 0)
if ((opts[i].what & what) == 0)
continue;
printf("%s\n", opts[i].name);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment