mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Use FMT_64 to format 64bit types
This commit is contained in:
parent
1a5123da94
commit
78125be9c2
@ -6,6 +6,7 @@
|
|||||||
|
|
||||||
#include "metadata.h"
|
#include "metadata.h"
|
||||||
#include "activate.h"
|
#include "activate.h"
|
||||||
|
#include "display.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
#include "fs.h"
|
#include "fs.h"
|
||||||
|
|
||||||
@ -118,7 +119,7 @@ static int _emit_target(struct dm_task *dmt, struct logical_volume *lv,
|
|||||||
count++;
|
count++;
|
||||||
}
|
}
|
||||||
|
|
||||||
snprintf(params, sizeof(params), "%s %llu",
|
snprintf(params, sizeof(params), "%s %" FMT_64 "u",
|
||||||
dev_name(first->pv->dev),
|
dev_name(first->pv->dev),
|
||||||
first->pv->pe_start + (esize * first->pe));
|
first->pv->pe_start + (esize * first->pe));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user