~n-muench/burg/burg2

« back to all changes in this revision

Viewing changes to commands/loadenv.c

  • Committer: bean
  • Date: 2010-02-05 08:50:07 UTC
  • Revision ID: bean@ws6-20100205085007-b12u4s5fp9qwh868
Bug fix for #516501 and #517194.

Show diffs side-by-side

added added

removed removed

Lines of Context:
450
450
      fp = fopen (host_file, "wb");
451
451
      if (! fp)
452
452
        grub_util_error ("cannot open the file %s", host_file);
 
453
      grub_free (host_file);
453
454
 
454
455
      if (fwrite (grub_envblk_buffer (envblk), 1,
455
456
                  grub_envblk_size (envblk), fp) != grub_envblk_size (envblk))