2009-01-13 Carles Pina i Estany <carles@pina.cat>

* util/grub-editenv.c (main): Use fseeko(), not fseek().
This commit is contained in:
proski 2009-01-14 00:17:12 +00:00
parent 7795c55ef9
commit 4a412913d1
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2009-01-13 Carles Pina i Estany <carles@pina.cat>
* util/grub-editenv.c (main): Use fseeko(), not fseek().
2009-01-13 Bean <bean123ch@gmail.com>
* util/grub-mkfont.c (write_font): forget to remove some debug code.

View file

@ -260,7 +260,7 @@ main (int argc, char *argv[])
else if (! strcmp (argv[optind], "clear"))
cmd_clear ();
fseek (f, 0, SEEK_SET);
fseeko (f, 0, SEEK_SET);
fwrite (buffer, sizeof (buffer), 1, f);
}
fclose (f);