summaryrefslogtreecommitdiff
path: root/lib/uvc.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/uvc.c')
-rw-r--r--lib/uvc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/uvc.c b/lib/uvc.c
index f8e913a..695db5b 100644
--- a/lib/uvc.c
+++ b/lib/uvc.c
@@ -329,10 +329,10 @@ static void uvc_events_process(void *d)
return;
}
- ioctl(dev->vdev->fd, UVCIOC_SEND_RESPONSE, &resp);
+ ret = ioctl(dev->vdev->fd, UVCIOC_SEND_RESPONSE, &resp);
if (ret < 0) {
- printf("UVCIOC_S_EVENT failed: %s (%d)\n", strerror(errno),
- errno);
+ printf("UVCIOC_SEND_RESPONSE failed: %s (%d)\n",
+ strerror(errno), errno);
return;
}
}