From 133fa83aa87d0029b0db87864183ee9739fe8510 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Fri, 22 Mar 2013 12:29:44 -0400 Subject: [PATCH] Minor fix: libc wrapper internal run script Take arguments in the script too. Signed-off-by: Mathieu Desnoyers --- liblttng-ust-libc-wrapper/run | 2 +- liblttng-ust-libc-wrapper/ust_libc.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.34.1