From 5a3375f958f816e0346be019ce7863ebfe2fe110 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Fri, 25 Oct 2024 01:19:21 +0200 Subject: [PATCH] debug: use major:minor Print major:minor as in other places. --- lib/device/dev-cache.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/device/dev-cache.c b/lib/device/dev-cache.c index c03beac1c..3062e5ecd 100644 --- a/lib/device/dev-cache.c +++ b/lib/device/dev-cache.c @@ -1330,9 +1330,9 @@ int dm_devs_cache_update(void) dm_dev_new = dm_list_item(l, struct dm_active_device); if ((dm_dev->devno != dm_dev_new->devno) || strcmp(dm_dev->uuid, dm_dev_new->uuid)) { - log_debug_cache("Mismatching UUID or devno found %s %lu %s %lu", - dm_dev->uuid, dm_dev->devno, - dm_dev_new->uuid, dm_dev_new->devno); + log_debug_cache("Mismatching UUID or devno found %s %u:%u %s %u:%u.", + dm_dev->uuid, MAJOR(dm_dev->devno), MINOR(dm_dev->devno), + dm_dev_new->uuid, MAJOR(dm_dev_new->devno), MINOR(dm_dev_new->devno)); cache_changed = 1; break; }