diff options
Diffstat (limited to 'arch/um/kernel')
-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, | |||
39 | char __user *__user *env) | 39 | char __user *__user *env) |
40 | { | 40 | { |
41 | long error; | 41 | long error; |
42 | #ifdef CONFIG_TTY_LOG | ||
42 | struct tty_struct *tty; | 43 | struct tty_struct *tty; |
43 | 44 | ||
44 | #ifdef CONFIG_TTY_LOG | ||
45 | mutex_lock(&tty_mutex); | 45 | mutex_lock(&tty_mutex); |
46 | tty = get_current_tty(); | 46 | tty = get_current_tty(); |
47 | if (tty) | 47 | if (tty) |