From 78125be9c2933a3cd4b49c8b109d24b2db869d87 Mon Sep 17 00:00:00 2001 From: Patrick Caulfield Date: Thu, 15 Nov 2001 14:27:51 +0000 Subject: [PATCH] Use FMT_64 to format 64bit types --- lib/activate/activate.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/activate/activate.c b/lib/activate/activate.c index d32cca63a..6c1ddd5ea 100644 --- a/lib/activate/activate.c +++ b/lib/activate/activate.c @@ -6,6 +6,7 @@ #include "metadata.h" #include "activate.h" +#include "display.h" #include "log.h" #include "fs.h" @@ -118,7 +119,7 @@ static int _emit_target(struct dm_task *dmt, struct logical_volume *lv, count++; } - snprintf(params, sizeof(params), "%s %llu", + snprintf(params, sizeof(params), "%s %" FMT_64 "u", dev_name(first->pv->dev), first->pv->pe_start + (esize * first->pe));