From c569d529ec6a10a67527d5678c1d4acf011c6506 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 24 Sep 2019 15:21:47 +0200 Subject: [PATCH] test-mountpoint-util: improve output a bit --- src/test/test-mountpoint-util.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/test/test-mountpoint-util.c b/src/test/test-mountpoint-util.c index 8c5aac8..499873f 100644 --- a/src/test/test-mountpoint-util.c +++ b/src/test/test-mountpoint-util.c @@ -81,10 +81,11 @@ static void test_mnt_id(void) { continue; } - log_debug("mnt ids of %s are %i, %i\n", p, mnt_id, mnt_id2); - - if (mnt_id == mnt_id2) + if (mnt_id == mnt_id2) { + log_debug("mnt ids of %s is %i\n", p, mnt_id); continue; + } else + log_debug("mnt ids of %s are %i, %i\n", p, mnt_id, mnt_id2); /* The ids don't match? If so, then there are two mounts on the same path, let's check if * that's really the case */ -- 2.7.4