[LIBFSIMAGE] Fix printf-format warning on x86/64.

Signed-off-by: Ben Thomas <ben@virtualiron.com>
This commit is contained in:
kaf24@firebug.cl.cam.ac.uk committed 2006-11-10 07:48:25 +00:00
1 parent d53bdf0f83
commit e204ff2937
1 file changed
+2 -1
+2 -1
View File
@@ -24,6 +24,7 @@
#include <fsimage_plugin.h>
#include <ext2fs/ext2fs.h>
#include <errno.h>
#include <inttypes.h>
static int
ext2lib_mount(fsi_t *fsi, const char *name)
@@ -34,7 +35,7 @@ ext2lib_mount(fsi_t *fsi, const char *name)
uint64_t offset = fsip_fs_offset(fsi);
if (offset)
snprintf(opts, 29, "offset=%lld", offset);
snprintf(opts, 29, "offset=%" PRId64, offset);
fs = malloc(sizeof (*fs));
if (fs == NULL)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.