summaryrefslogtreecommitdiff
path: root/src/test/test-mountpoint-util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test-mountpoint-util.c')
-rw-r--r--src/test/test-mountpoint-util.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/test/test-mountpoint-util.c b/src/test/test-mountpoint-util.c
index 8c5aac8eb7..499873f0ce 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 */