summaryrefslogtreecommitdiffstats
path: root/runtime/loc2c-runtime.h
diff options
context:
space:
mode:
authorfche <fche>2005-08-25 01:41:48 +0000
committerfche <fche>2005-08-25 01:41:48 +0000
commit48fcc08d0a0d19b8ef23ab384b2b30daaa232cf3 (patch)
treebf6b64ceb9e5dbf5da68dd4bf7ccf9bd385d3133 /runtime/loc2c-runtime.h
parent63ff8da7ab1ff8a0ab4d7dfdc2c5749feab3c7f4 (diff)
downloadsystemtap-steved-48fcc08d0a0d19b8ef23ab384b2b30daaa232cf3.tar.gz
systemtap-steved-48fcc08d0a0d19b8ef23ab384b2b30daaa232cf3.tar.xz
systemtap-steved-48fcc08d0a0d19b8ef23ab384b2b30daaa232cf3.zip
silly macro typos
Diffstat (limited to 'runtime/loc2c-runtime.h')
-rw-r--r--runtime/loc2c-runtime.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/runtime/loc2c-runtime.h b/runtime/loc2c-runtime.h
index aa6823fd..2cc73536 100644
--- a/runtime/loc2c-runtime.h
+++ b/runtime/loc2c-runtime.h
@@ -172,9 +172,9 @@
#endif
-#define deref_string(dst, addr, maxbytes)
- ({
- if (__strncpy_from_user ((dst), (const char __user *) (addr), (maxbytes)))
- goto deref_fault;
- (dst);
+#define deref_string(dst, addr, maxbytes) \
+ ({ \
+ if (__strncpy_from_user ((dst), (const char __user *) (addr), (maxbytes))) \
+ goto deref_fault; \
+ (dst); \
})