[PATCH] FDPIC: Fix FDPIC compile errors
authorDavid Howells <dhowells@redhat.com>
Mon, 10 Jul 2006 11:44:50 +0000 (04:44 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 10 Jul 2006 20:24:21 +0000 (13:24 -0700)
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>
fs/binfmt_elf_fdpic.c

index eba4e23..07624b9 100644 (file)
@@ -459,6 +459,7 @@ static int create_elf_fdpic_tables(struct linux_binprm *bprm,
         */
        hwcap = ELF_HWCAP;
        k_platform = ELF_PLATFORM;
+       u_platform = NULL;
 
        if (k_platform) {
                platform_len = strlen(k_platform) + 1;