Skip to content

Commit

Permalink
fix device names
Browse files Browse the repository at this point in the history
  • Loading branch information
KlausT committed Jan 28, 2018
1 parent 9beb148 commit 911f046
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ccminer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2902,7 +2902,7 @@ int main(int argc, char *argv[])
applog(LOG_ERR, "%s", cudaGetErrorString(err));
exit(1);
}
device_name[dev_id] = props.name;
device_name[dev_id] = strdup(props.name);
}

/* parse command line */
Expand Down

0 comments on commit 911f046

Please sign in to comment.