[1946] 2009-01-13 Carles Pina i Estany <[email protected]>

Pavel Roskin <[email protected]>
Newsgroups gmane.comp.boot-loaders.grub.cvs
Message-ID <[email protected]>
Revision: 1946
          http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=1946
Author:   proski
Date:     2009-01-14 00:17:12 +0000 (Wed, 14 Jan 2009)

Log Message:
-----------
2009-01-13  Carles Pina i Estany  <[email protected]>

	* util/grub-editenv.c (main): Use fseeko(), not fseek().

Modified Paths:
--------------
    trunk/grub2/ChangeLog
    trunk/grub2/util/grub-editenv.c

Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog	2009-01-14 00:13:52 UTC (rev 1945)
+++ trunk/grub2/ChangeLog	2009-01-14 00:17:12 UTC (rev 1946)
@@ -1,3 +1,7 @@
+2009-01-13  Carles Pina i Estany  <[email protected]>
+
+	* util/grub-editenv.c (main): Use fseeko(), not fseek().
+
 2009-01-13  Bean  <[email protected]>
 
 	* util/grub-mkfont.c (write_font): forget to remove some debug code.

Modified: trunk/grub2/util/grub-editenv.c
===================================================================
--- trunk/grub2/util/grub-editenv.c	2009-01-14 00:13:52 UTC (rev 1945)
+++ trunk/grub2/util/grub-editenv.c	2009-01-14 00:17:12 UTC (rev 1946)
@@ -260,7 +260,7 @@
       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);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.