Match-id-9022dc0b85035b9e027ab5a749409c1a758bcbcc

This commit is contained in:
BianTanggui
2021-01-11 17:31:02 +08:00
parent 73f4424e1a
commit 4ca1c7d224
2 changed files with 3 additions and 3 deletions

View File

@@ -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;
}