summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2015-10-03 22:10:31 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2015-10-06 14:57:30 +0200
commit2506275c3b5ec7db8c76ef7fdb07d4f3083a3684 (patch)
treeb0d8956269299d47a2c4590f5b69cb5269695429
parent5f7a94a03e8ff61213844fd510e8af127475b501 (diff)
downloadlvm2-2506275c3b5ec7db8c76ef7fdb07d4f3083a3684.tar.gz
cleanup: fix compiler warning
-rw-r--r--lib/cache/lvmetad.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/cache/lvmetad.c b/lib/cache/lvmetad.c
index db15866bd..20d20019f 100644
--- a/lib/cache/lvmetad.c
+++ b/lib/cache/lvmetad.c
@@ -53,8 +53,8 @@ static int _log_debug_inequality(const char *name, struct dm_config_node *a, str
log_debug_lvmetad("VG %s metadata inequality at %s / %s: %s / %s",
name, a->key, b->key, av->v.str, bv->v.str);
else if (a->v->type == DM_CFG_INT && b->v->type == DM_CFG_INT)
- log_debug_lvmetad("VG %s metadata inequality at %s / %s: %li / %li",
- name, a->key, b->key, (int64_t)av->v.i, (int64_t)bv->v.i);
+ log_debug_lvmetad("VG %s metadata inequality at %s / %s: " FMTi64 " / " FMTi64,
+ name, a->key, b->key, av->v.i, bv->v.i);
else
log_debug_lvmetad("VG %s metadata inequality at %s / %s: type %d / type %d",
name, a->key, b->key, av->type, bv->type);