From 36b696f4336df01aaf9f66491f3257a72451bbde Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Thu, 11 Oct 2018 17:18:11 +0200 Subject: [PATCH] lib: Fix error messages in async capture functions They mentioned verification instead of capture. --- libfprint/fpi-async.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libfprint/fpi-async.c b/libfprint/fpi-async.c index cce0dca3..14a8bbd4 100644 --- a/libfprint/fpi-async.c +++ b/libfprint/fpi-async.c @@ -538,7 +538,7 @@ API_EXPORTED int fp_async_capture_start(struct fp_dev *dev, int unconditional, if (r < 0) { dev->capture_cb = NULL; 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; } @@ -624,7 +624,7 @@ API_EXPORTED int fp_async_capture_stop(struct fp_dev *dev, r = drv->capture_stop(dev); if (r < 0) { - fp_err("failed to stop verification"); + fp_err("failed to stop capture"); dev->capture_stop_cb = NULL; } return r;