aboutsummaryrefslogtreecommitdiffstats
path: root/fs/binfmt_elf_fdpic.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/binfmt_elf_fdpic.c')
-rw-r--r--fs/binfmt_elf_fdpic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/binfmt_elf_fdpic.c b/fs/binfmt_elf_fdpic.c
index eba4e23b9ca0..07624b95aee6 100644
--- a/fs/binfmt_elf_fdpic.c
+++ b/fs/binfmt_elf_fdpic.c
@@ -459,6 +459,7 @@ static int create_elf_fdpic_tables(struct linux_binprm *bprm,
459 */ 459 */
460 hwcap = ELF_HWCAP; 460 hwcap = ELF_HWCAP;
461 k_platform = ELF_PLATFORM; 461 k_platform = ELF_PLATFORM;
462 u_platform = NULL;
462 463
463 if (k_platform) { 464 if (k_platform) {
464 platform_len = strlen(k_platform) + 1; 465 platform_len = strlen(k_platform) + 1;