mirror of
https://github.com/Ascend/ascend-docker-runtime.git
synced 2025-10-10 14:10:08 +08:00
Match-id-9022dc0b85035b9e027ab5a749409c1a758bcbcc
This commit is contained in:
@@ -186,7 +186,7 @@ static int ParseDeviceIDs(unsigned int *idList, size_t *idListSize, char *device
|
||||
errno = 0;
|
||||
idList[idx] = strtoul((const char *)token, NULL, DECIMAL);
|
||||
if (errno != 0) {
|
||||
LOG_ERROR("error: failed to convert device id (%s) from cmd args, caused by: %s.", token, strerror(errno));
|
||||
LOG_ERROR("error: failed to convert device id (%s) from cmd args", token);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user