2005-11-22 Hollis Blanchard <hollis@penguinppc.org>
* term/tparm.c (get_space): Remove empty `if' statement. * fs/ufs.c (grub_ufs_find_file): Remove `grub_le_to_cpu32'. * kern/parser.c (check_varstate): Rename `state' to 's'.
This commit is contained in:
parent
aeaf81d9a3
commit
9c12956b84
4 changed files with 16 additions and 10 deletions
2
fs/ufs.c
2
fs/ufs.c
|
@ -471,7 +471,7 @@ grub_ufs_find_file (struct grub_ufs_data *data, const char *path)
|
|||
}
|
||||
|
||||
pos += grub_le_to_cpu16 (dirent.direntlen);
|
||||
} while (pos < grub_le_to_cpu32 (INODE_SIZE (data)));
|
||||
} while (pos < INODE_SIZE (data));
|
||||
|
||||
grub_error (GRUB_ERR_FILE_NOT_FOUND, "file not found");
|
||||
return grub_errno;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue