Cc: Christophe Varoqui <christophe.varoqui@xxxxxxxxxxx> Cc: DM-DEV ML <dm-devel@xxxxxxxxxx> Signed-off-by: Xose Vazquez Perez <xose.vazquez@xxxxxxxxx> --- libmultipath/checkers/tur.c | 2 +- tests/dmevents.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libmultipath/checkers/tur.c b/libmultipath/checkers/tur.c index 86c0cdc..5aeec6f 100644 --- a/libmultipath/checkers/tur.c +++ b/libmultipath/checkers/tur.c @@ -334,7 +334,7 @@ int libcheck_check(struct checker * c) tur_timeout(&tsp); pthread_mutex_lock(&ct->lock); if (ct->state == PATH_PENDING) - r = pthread_cond_timedwait(&ct->active, &ct->lock, + r = pthread_cond_timedwait(&ct->active, &ct->lock, &tsp); if (!r) { tur_status = ct->state; diff --git a/tests/dmevents.c b/tests/dmevents.c index 3399c81..bee117a 100644 --- a/tests/dmevents.c +++ b/tests/dmevents.c @@ -465,7 +465,7 @@ static void test_watch_dmevents_good1(void **state) skip(); remove_all_dm_device_events(); - assert_int_equal(add_dm_device_event("foo", 1, 5), 0); + assert_int_equal(add_dm_device_event("foo", 1, 5), 0); will_return(__wrap_dm_geteventnr, 0); assert_int_equal(watch_dmevents("foo"), 0); dev_evt = find_dmevents("foo"); -- 2.17.2 -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel