diff --git a/util/opts/log.c b/util/opts/log.c index 0e943fa..47426f8 100644 --- a/util/opts/log.c +++ b/util/opts/log.c @@ -97,7 +97,7 @@ int ioctl_retried(const char *name, int fd, int request, void *arg) } if (ret && retries <= 0) { - LOG_PERROR(NULL, "%s: ioctl(%08x) retried %u times; giving up", name, request, MAX_RETRIES); + LOG_PERROR(NULL, "%s: ioctl(%08x, errno=%d) retried %u times; giving up", name, request, errno, MAX_RETRIES); } return ret; }