[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:
parent
67608e0c80
commit
f979522052
1 changed files with 1 additions and 1 deletions
|
@ -39,9 +39,9 @@ static long execve1(char *file, char __user * __user *argv,
|
||||||
char __user *__user *env)
|
char __user *__user *env)
|
||||||
{
|
{
|
||||||
long error;
|
long error;
|
||||||
|
#ifdef CONFIG_TTY_LOG
|
||||||
struct tty_struct *tty;
|
struct tty_struct *tty;
|
||||||
|
|
||||||
#ifdef CONFIG_TTY_LOG
|
|
||||||
mutex_lock(&tty_mutex);
|
mutex_lock(&tty_mutex);
|
||||||
tty = get_current_tty();
|
tty = get_current_tty();
|
||||||
if (tty)
|
if (tty)
|
||||||
|
|
Loading…
Add table
Reference in a new issue