Skip to contentSkip to conversation

UML - Kill a compilation warning

PATCH In review Jeff Dike 1 participant 1 message Jan 1, 2007 User-mode Linux (UML)

lore
Share & tools
lore

Jeff Dike

author
#0 lore raw

PATCH 8/8 UML - Kill a compilation warning

Kill a compilation warning.

--

 arch/um/kernel/exec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/um/kernel/exec.c +1 -1
Index: linux-2.6.18-mm/arch/um/kernel/exec.c
===================================================================
@@ -39,9 +39,9 @@ static long execve1(char *file, char __u
 		    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)

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel