port: fix typo 'lttng_ust_safe_closefrom' -> 'lttng_ust_safe_closefrom_fd'
authorMichael Jeanson <mjeanson@efficios.com>
Tue, 13 Oct 2020 20:43:44 +0000 (16:43 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 14 Oct 2020 18:10:13 +0000 (14:10 -0400)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I6f9ddd4b46e83c379ed76dd435ce44c49393f7cf

liblttng-ust-fd/lttng-ust-fd.c

index 4818e02ed81436a524d1f39c4af59594e538b230..7bb3cecf137986d38902add0e77d30985811410a 100644 (file)
@@ -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. */
This page took 0.024774 seconds and 4 git commands to generate.