mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
lib: Fix error messages in async capture functions
They mentioned verification instead of capture.
This commit is contained in:
@@ -538,7 +538,7 @@ API_EXPORTED int fp_async_capture_start(struct fp_dev *dev, int unconditional,
|
|||||||
if (r < 0) {
|
if (r < 0) {
|
||||||
dev->capture_cb = NULL;
|
dev->capture_cb = NULL;
|
||||||
dev->state = DEV_STATE_ERROR;
|
dev->state = DEV_STATE_ERROR;
|
||||||
fp_err("failed to start verification, error %d", r);
|
fp_err("failed to start capture, error %d", r);
|
||||||
}
|
}
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
@@ -624,7 +624,7 @@ API_EXPORTED int fp_async_capture_stop(struct fp_dev *dev,
|
|||||||
|
|
||||||
r = drv->capture_stop(dev);
|
r = drv->capture_stop(dev);
|
||||||
if (r < 0) {
|
if (r < 0) {
|
||||||
fp_err("failed to stop verification");
|
fp_err("failed to stop capture");
|
||||||
dev->capture_stop_cb = NULL;
|
dev->capture_stop_cb = NULL;
|
||||||
}
|
}
|
||||||
return r;
|
return r;
|
||||||
|
|||||||
Reference in New Issue
Block a user