summaryrefslogtreecommitdiffstats
path: root/runtime/loc2c-runtime.h
diff options
context:
space:
mode:
authorroland <roland>2005-08-25 01:43:59 +0000
committerroland <roland>2005-08-25 01:43:59 +0000
commit7b1aafd58c42d6d07972a1280dbd718c916e58f4 (patch)
treefb42ae49b0c0c87c311bcb44f448abee87fe3517 /runtime/loc2c-runtime.h
parent48fcc08d0a0d19b8ef23ab384b2b30daaa232cf3 (diff)
downloadsystemtap-steved-7b1aafd58c42d6d07972a1280dbd718c916e58f4.tar.gz
systemtap-steved-7b1aafd58c42d6d07972a1280dbd718c916e58f4.tar.xz
systemtap-steved-7b1aafd58c42d6d07972a1280dbd718c916e58f4.zip
(deref_string): prettify
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 2cc73536..3b0289f3 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); \
})