[dm-devel] [PATCH] multipath-tools: delete trailing whitespaces
Xose Vazquez Perez
xose.vazquez at gmail.com
Wed Oct 10 19:51:16 UTC 2018
Cc: Christophe Varoqui <christophe.varoqui at opensvc.com>
Cc: DM-DEV ML <dm-devel at redhat.com>
Signed-off-by: Xose Vazquez Perez <xose.vazquez at gmail.com>
---
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
More information about the dm-devel
mailing list