diff options
author | Jeff Dike <jdike@addtoit.com> | 2007-02-10 10:44:03 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-11 19:51:22 +0100 |
commit | f9795220521e0575dfd4ed0737d3a7848264662c (patch) | |
tree | 65b99973866f29c677d9fb43364441bbb38ec6d4 /arch/um/kernel/exec.c | |
parent | [PATCH] uml: port driver formatting (diff) | |
download | linux-f9795220521e0575dfd4ed0737d3a7848264662c.tar.xz linux-f9795220521e0575dfd4ed0737d3a7848264662c.zip |
[PATCH] uml: Kill a compilation warning
Kill a compilation warning.
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/kernel/exec.c')
-rw-r--r-- | arch/um/kernel/exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/kernel/exec.c b/arch/um/kernel/exec.c index 8d56ec6cca79..121166400e25 100644 --- a/arch/um/kernel/exec.c +++ b/arch/um/kernel/exec.c @@ -39,9 +39,9 @@ static long execve1(char *file, char __user * __user *argv, char __user *__user *env) { long error; +#ifdef CONFIG_TTY_LOG struct tty_struct *tty; -#ifdef CONFIG_TTY_LOG mutex_lock(&tty_mutex); tty = get_current_tty(); if (tty) |