2009-01-13 Carles Pina i Estany <carles@pina.cat>
* util/grub-editenv.c (main): Use fseeko(), not fseek().
This commit is contained in:
parent
7795c55ef9
commit
4a412913d1
2 changed files with 5 additions and 1 deletions
|
@ -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>
|
2009-01-13 Bean <bean123ch@gmail.com>
|
||||||
|
|
||||||
* util/grub-mkfont.c (write_font): forget to remove some debug code.
|
* util/grub-mkfont.c (write_font): forget to remove some debug code.
|
||||||
|
|
|
@ -260,7 +260,7 @@ main (int argc, char *argv[])
|
||||||
else if (! strcmp (argv[optind], "clear"))
|
else if (! strcmp (argv[optind], "clear"))
|
||||||
cmd_clear ();
|
cmd_clear ();
|
||||||
|
|
||||||
fseek (f, 0, SEEK_SET);
|
fseeko (f, 0, SEEK_SET);
|
||||||
fwrite (buffer, sizeof (buffer), 1, f);
|
fwrite (buffer, sizeof (buffer), 1, f);
|
||||||
}
|
}
|
||||||
fclose (f);
|
fclose (f);
|
||||||
|
|
Loading…
Reference in a new issue