Browse Source

[PATCH] uml: fix a macro typo

Fix a macro typo which could break if the macro is passed arguments with
side-effects.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Al Viro 19 years ago
parent
commit
7efd08c855
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/um/include/sysdep-x86_64/ptrace.h

+ 1 - 1
arch/um/include/sysdep-x86_64/ptrace.h

@@ -227,7 +227,7 @@ struct syscall_args {
                         panic("Bad register in UPT_SET : %d\n", reg);  \
                         panic("Bad register in UPT_SET : %d\n", reg);  \
 			break; \
 			break; \
                 } \
                 } \
-                val; \
+                __upt_val; \
         })
         })
 
 
 #define UPT_SET_SYSCALL_RETURN(r, res) \
 #define UPT_SET_SYSCALL_RETURN(r, res) \