mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-20 22:48:22 +00:00
* grub-core/fs/jfs.c (grub_jfs_getent): Handle UTF16 endianness.
This commit is contained in:
1 parent
b453412d2f
commit
3c349f5a37
2 files changed
+5
-1
No files matched your search
+1
-1
@@ -490,7 +490,7 @@ grub_jfs_getent (struct grub_jfs_diropen *diro)
|
||||
void addstr (grub_uint16_t *name, int ulen)
|
||||
{
|
||||
while (ulen--)
|
||||
filename[strpos++] = *(name++);
|
||||
filename[strpos++] = grub_le_to_cpu16 (*(name++));
|
||||
}
|
||||
|
||||
/* The last node, read in more. */
|
||||
|
||||
Reference in new issue
Block a user