Wentao Guan e45b2b4e44 loader: Drop argv[] argument in grub_initrd_load()
In the case of an error grub_initrd_load() uses argv[] to print the
filename that caused the error. It is also possible to obtain the
filename from the file handles and there is no need to duplicate that
information in argv[], so let's drop it.

Signed-off-by: Nikita Ermakov <arei@altlinux.org>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
Backport-commit: also for mips64
Signed-off-by: Wentao Guan <guanwentao@uniontech.com>
2024-08-26 11:25:29 +08:00
..
2024-08-26 11:25:29 +08:00
2024-08-26 11:25:29 +08:00
2020-08-07 22:25:16 +08:00
2022-02-14 23:31:54 +08:00
2022-02-13 17:00:39 +08:00
2020-08-07 22:25:16 +08:00
2020-08-07 22:25:16 +08:00
2020-08-07 22:25:16 +08:00
2022-04-08 17:21:36 +08:00
2021-01-07 20:32:38 +08:00