Fix logic error in explicitly specified dtb versions spotted by gavin.
This commit is contained in:
parent
f89bcdb03b
commit
45688d5d5f
@ -164,7 +164,7 @@ main(int argc, char **argv)
|
|||||||
debug_mode = true;
|
debug_mode = true;
|
||||||
break;
|
break;
|
||||||
case 'V':
|
case 'V':
|
||||||
if (string(optarg) == string("17"))
|
if (string(optarg) != string("17"))
|
||||||
{
|
{
|
||||||
fprintf(stderr, "Unknown output format version: %s\n", optarg);
|
fprintf(stderr, "Unknown output format version: %s\n", optarg);
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
|
Loading…
Reference in New Issue
Block a user