2008-07-02 Pavel Roskin <proski@gnu.org>

* util/grub-editenv.c (cmd_info): Fix warning in printf format.
This commit is contained in:
proski 2008-07-02 19:11:26 +00:00
parent cb71ba20e9
commit 08d3ef095f
2 changed files with 3 additions and 1 deletions

View file

@ -1,5 +1,7 @@
2008-07-02 Pavel Roskin <proski@gnu.org>
* 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.

View file

@ -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);
}