diff --git a/ChangeLog b/ChangeLog index da1591f0f..c5f1ffadc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2008-07-02 Pavel Roskin + * util/grub-editenv.c (cmd_info): Fix warning in printf format. + * Makefile.in (MODULE_LDFLAGS): New variable. * aclocal.m4 (grub_PROG_LD_BUILD_ID_NONE): New macro. Check if the linker accepts --build-id=none. diff --git a/util/grub-editenv.c b/util/grub-editenv.c index b2b2d679b..3d06adf50 100644 --- a/util/grub-editenv.c +++ b/util/grub-editenv.c @@ -141,7 +141,7 @@ open_envblk_file (char *name) static void cmd_info (void) { - printf ("Envblk offset: %d\n", envblk->data - buffer); + printf ("Envblk offset: %ld\n", envblk->data - buffer); printf ("Envblk length: %d\n", envblk->length); }