mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Fix compile warning in lvmcmdline.c - use C99 PRIu64 for uint64_t.
Author: Dave Wysochanski <dwysocha@redhat.com>
This commit is contained in:
parent
4c611a220a
commit
6cf4278659
@ -285,7 +285,7 @@ static int _size_arg(struct cmd_context *cmd __attribute((unused)), struct arg *
|
|||||||
if (adjustment) {
|
if (adjustment) {
|
||||||
v_tmp += (512 - adjustment);
|
v_tmp += (512 - adjustment);
|
||||||
log_error("Size is not a multiple of 512. "
|
log_error("Size is not a multiple of 512. "
|
||||||
"Try using %lu or %lu.",
|
"Try using %"PRIu64" or %"PRIu64".",
|
||||||
v_tmp - 512, v_tmp);
|
v_tmp - 512, v_tmp);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user