From: philsmd Date: Wed, 13 Jan 2016 22:38:07 +0000 (+0100) Subject: add skipped devices to the --benchmark output X-Git-Tag: v3.00-beta~513^2 X-Git-Url: https://www.flypig.org.uk/git/?a=commitdiff_plain;h=88cbb45ca511e0c993c3d2bc946008e638913ebe;p=hashcat.git add skipped devices to the --benchmark output --- diff --git a/src/oclHashcat.c b/src/oclHashcat.c index 8b639be..db27069 100644 --- a/src/oclHashcat.c +++ b/src/oclHashcat.c @@ -12451,6 +12451,13 @@ int main (int argc, char **argv) * devices mask and properties */ + uint quiet_sav = quiet; + + if (benchmark) + { + quiet = 0; + } + for (uint device_all_id = 0; device_all_id < devices_all_cnt; device_all_id++) { // skip the device, if the user did specify a list of GPUs to skip @@ -12532,6 +12539,8 @@ int main (int argc, char **argv) devices_cnt++; } + quiet = quiet_sav; + if (devices_cnt == 0) { log_error ("ERROR: No devices left that matches your specification.");