From: Michael Jeanson Date: Tue, 13 Oct 2020 20:43:44 +0000 (-0400) Subject: port: fix typo 'lttng_ust_safe_closefrom' -> 'lttng_ust_safe_closefrom_fd' X-Git-Tag: v2.13.0-rc1~482 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=23366626cd9e1d2d15d54adbcbfa98827f95d15d;p=lttng-ust.git port: fix typo 'lttng_ust_safe_closefrom' -> 'lttng_ust_safe_closefrom_fd' Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers Change-Id: I6f9ddd4b46e83c379ed76dd435ce44c49393f7cf --- diff --git a/liblttng-ust-fd/lttng-ust-fd.c b/liblttng-ust-fd/lttng-ust-fd.c index 4818e02e..7bb3cecf 100644 --- a/liblttng-ust-fd/lttng-ust-fd.c +++ b/liblttng-ust-fd/lttng-ust-fd.c @@ -77,13 +77,13 @@ int fclose(FILE *stream) /* Solaris and FreeBSD. */ void closefrom(int lowfd) { - (void) lttng_ust_safe_closefrom(lowfd, __lttng_ust_fd_plibc_close); + (void) lttng_ust_safe_closefrom_fd(lowfd, __lttng_ust_fd_plibc_close); } #elif defined(__NetBSD__) || defined(__OpenBSD__) /* NetBSD and OpenBSD. */ int closefrom(int lowfd) { - return lttng_ust_safe_closefrom(lowfd, __lttng_ust_fd_plibc_close); + return lttng_ust_safe_closefrom_fd(lowfd, __lttng_ust_fd_plibc_close); } #else /* As far as we know, this OS does not implement closefrom. */