diff options
Diffstat (limited to 'runtime/loc2c-runtime.h')
-rw-r--r-- | runtime/loc2c-runtime.h | 10 |
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); \ }) |