[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>
This commit is contained in:
Родитель
67608e0c80
Коммит
f979522052
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче