diff options
author | Al Viro <viro@parcelfarce.linux.theplanet.co.uk> | 2005-09-03 18:57:28 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@evo.osdl.org> | 2005-09-05 03:06:21 -0400 |
commit | 7efd08c85523f9468a6a8748d6f02b3e73967569 (patch) | |
tree | 6ee5b4cadfc78665a4a85a2f5901b2441c4e4f79 /arch | |
parent | e54a5dfb960053437f464a7ce372a8acc293fdcb (diff) |
[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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/um/include/sysdep-x86_64/ptrace.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/include/sysdep-x86_64/ptrace.h b/arch/um/include/sysdep-x86_64/ptrace.h index be8acd5efd97..331aa2d1f3f5 100644 --- a/arch/um/include/sysdep-x86_64/ptrace.h +++ b/arch/um/include/sysdep-x86_64/ptrace.h | |||
@@ -227,7 +227,7 @@ struct syscall_args { | |||
227 | panic("Bad register in UPT_SET : %d\n", reg); \ | 227 | panic("Bad register in UPT_SET : %d\n", reg); \ |
228 | break; \ | 228 | break; \ |
229 | } \ | 229 | } \ |
230 | val; \ | 230 | __upt_val; \ |
231 | }) | 231 | }) |
232 | 232 | ||
233 | #define UPT_SET_SYSCALL_RETURN(r, res) \ | 233 | #define UPT_SET_SYSCALL_RETURN(r, res) \ |