* 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

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