From: Mathieu Desnoyers Date: Fri, 22 Mar 2013 16:29:44 +0000 (-0400) Subject: Minor fix: libc wrapper internal run script X-Git-Tag: v2.2.0-rc1~38 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=133fa83aa87d0029b0db87864183ee9739fe8510;p=lttng-ust.git Minor fix: libc wrapper internal run script Take arguments in the script too. Signed-off-by: Mathieu Desnoyers --- diff --git a/liblttng-ust-libc-wrapper/run b/liblttng-ust-libc-wrapper/run index e902cd89..2583d23c 100755 --- a/liblttng-ust-libc-wrapper/run +++ b/liblttng-ust-libc-wrapper/run @@ -1,3 +1,3 @@ #!/bin/sh -LD_VERBOSE=1 LD_PRELOAD=.libs/liblttng-ust-libc.so $1 +LD_VERBOSE=1 LD_PRELOAD=.libs/liblttng-ust-libc.so ${*} diff --git a/liblttng-ust-libc-wrapper/ust_libc.h b/liblttng-ust-libc-wrapper/ust_libc.h index 60b64d14..af705aac 100644 --- a/liblttng-ust-libc-wrapper/ust_libc.h +++ b/liblttng-ust-libc-wrapper/ust_libc.h @@ -55,6 +55,6 @@ TRACEPOINT_EVENT(ust_libc, free, /* This part must be outside ifdef protection */ #include -#ifdef __cplusplus +#ifdef __cplusplus } #endif