diff options
author | David Howells <dhowells@redhat.com> | 2006-07-10 07:44:50 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-07-10 16:24:21 -0400 |
commit | 1aeb21d626327ee909fef03f72aea6e8a60e6c0c (patch) | |
tree | 7494b2caa2bb7d9f20d0a00a0bdb35c3c396dc51 /fs/binfmt_elf_fdpic.c | |
parent | b6174df5eec9cdfd598c03d6d0807e344e109213 (diff) |
[PATCH] FDPIC: Fix FDPIC compile errors
Fix FDPIC compile errors.
(akpm: we suspect it fixes a warning)
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/binfmt_elf_fdpic.c')
-rw-r--r-- | fs/binfmt_elf_fdpic.c | 1 |
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; |