diff options
author | theraven <theraven@FreeBSD.org> | 2013-01-22 18:12:31 +0000 |
---|---|---|
committer | theraven <theraven@FreeBSD.org> | 2013-01-22 18:12:31 +0000 |
commit | 62ccfde083ad68e21b73038749618e4a52342d71 (patch) | |
tree | 2e2196d0dc42c931b4602a19c37e6ae9c81a2f29 /usr.bin/dtc | |
parent | 9f101aeb57abe7bf47cd58141dcaa1bb1fb1a56a (diff) | |
download | FreeBSD-src-62ccfde083ad68e21b73038749618e4a52342d71.zip FreeBSD-src-62ccfde083ad68e21b73038749618e4a52342d71.tar.gz |
Fix logic error in explicitly specified dtb versions spotted by gavin.
Diffstat (limited to 'usr.bin/dtc')
-rw-r--r-- | usr.bin/dtc/dtc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/dtc/dtc.cc b/usr.bin/dtc/dtc.cc index 6d1966f..bf52813 100644 --- a/usr.bin/dtc/dtc.cc +++ b/usr.bin/dtc/dtc.cc @@ -164,7 +164,7 @@ main(int argc, char **argv) debug_mode = true; break; case 'V': - if (string(optarg) == string("17")) + if (string(optarg) != string("17")) { fprintf(stderr, "Unknown output format version: %s\n", optarg); return EXIT_FAILURE; |