1
0
mirror of https://github.com/GOSTSec/ccminer synced 2025-01-09 06:18:07 +00:00

nvapi: fix weird code style

This commit is contained in:
Tanguy Pruvot 2017-04-20 00:16:39 +02:00
parent 80c755188d
commit 6c9852c153

View File

@ -1723,7 +1723,7 @@ int nvapi_init()
{
int num_gpus = cuda_num_devices();
NvAPI_Status ret = NvAPI_Initialize();
if (!ret == NVAPI_OK){
if (ret != NVAPI_OK) {
NvAPI_ShortString string;
NvAPI_GetErrorMessage(ret, string);
if (opt_debug)