* grub-core/fs/romfs.c (grub_romfs_open): Add missing return.

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-10-25 17:38:22 +02:00
parent 5bbd28b8ce
commit f4d9b64bba
2 changed files with 5 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2011-10-25 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/fs/romfs.c (grub_romfs_open): Add missing return.
2011-10-24 Vladimir Serbinenko <phcoder@gmail.com> 2011-10-24 Vladimir Serbinenko <phcoder@gmail.com>
Fix 2G limit on ZFS. Fix 2G limit on ZFS.

View file

@ -367,6 +367,7 @@ grub_romfs_open (struct grub_file *file, const char *name)
file->size = grub_be_to_cpu32 (fdiro->file.size); file->size = grub_be_to_cpu32 (fdiro->file.size);
file->data = fdiro; file->data = fdiro;
return GRUB_ERR_NONE;
fail: fail:
grub_free (data); grub_free (data);