mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-23 08:38:09 +00:00
Fix some format string for 64 bit
This commit is contained in:
parent
824654e2fb
commit
5906f1ab54
24
src/opencl.c
24
src/opencl.c
@ -2865,18 +2865,18 @@ void opencl_ctx_devices_show (hashcat_ctx_t *hashcat_ctx)
|
||||
|
||||
printf
|
||||
(
|
||||
" Device ID #%u" EOL
|
||||
" Type : %s" EOL
|
||||
" Vendor ID : %u" EOL
|
||||
" Vendor : %s" EOL
|
||||
" Name : %s" EOL
|
||||
" Version : %s" EOL
|
||||
" Processor(s) : %u" EOL
|
||||
" Clock : %u" EOL
|
||||
" Memory : %lu/%lu MB allocatable" EOL
|
||||
" OpenCL Version : %s" EOL
|
||||
" Driver Version : %s" EOL
|
||||
"" EOL,
|
||||
" Device ID #%u" EOL
|
||||
" Type : %s" EOL
|
||||
" Vendor ID : %u" EOL
|
||||
" Vendor : %s" EOL
|
||||
" Name : %s" EOL
|
||||
" Version : %s" EOL
|
||||
" Processor(s) : %u" EOL
|
||||
" Clock : %u" EOL
|
||||
" Memory : %" PRIu64 "/%" PRIu64 " MB allocatable" EOL
|
||||
" OpenCL Version : %s" EOL
|
||||
" Driver Version : %s" EOL
|
||||
"" EOL,
|
||||
devices_idx + 1,
|
||||
((device_type & CL_DEVICE_TYPE_CPU) ? "CPU" : ((device_type & CL_DEVICE_TYPE_GPU) ? "GPU" : "Accelerator")),
|
||||
device_vendor_id,
|
||||
|
Loading…
Reference in New Issue
Block a user