1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

debug: use major:minor

Print major:minor as in other places.
This commit is contained in:
Zdenek Kabelac 2024-10-25 01:19:21 +02:00
parent edfa4955d8
commit 5a3375f958

View File

@ -1330,9 +1330,9 @@ int dm_devs_cache_update(void)
dm_dev_new = dm_list_item(l, struct dm_active_device); dm_dev_new = dm_list_item(l, struct dm_active_device);
if ((dm_dev->devno != dm_dev_new->devno) || if ((dm_dev->devno != dm_dev_new->devno) ||
strcmp(dm_dev->uuid, dm_dev_new->uuid)) { strcmp(dm_dev->uuid, dm_dev_new->uuid)) {
log_debug_cache("Mismatching UUID or devno found %s %lu %s %lu", log_debug_cache("Mismatching UUID or devno found %s %u:%u %s %u:%u.",
dm_dev->uuid, dm_dev->devno, dm_dev->uuid, MAJOR(dm_dev->devno), MINOR(dm_dev->devno),
dm_dev_new->uuid, dm_dev_new->devno); dm_dev_new->uuid, MAJOR(dm_dev_new->devno), MINOR(dm_dev_new->devno));
cache_changed = 1; cache_changed = 1;
break; break;
} }