From: Zbigniew Jędrzejewski-Szmek Date: Tue, 24 Sep 2019 13:21:47 +0000 (+0200) Subject: test-mountpoint-util: improve output a bit X-Git-Tag: v244-rc1~257^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c569d529ec6a10a67527d5678c1d4acf011c6506;p=thirdparty%2Fsystemd.git test-mountpoint-util: improve output a bit --- diff --git a/src/test/test-mountpoint-util.c b/src/test/test-mountpoint-util.c index 8c5aac8eb75..499873f0ce4 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 */