aboutsummaryrefslogtreecommitdiff
path: root/libexec/rtld-elf/rtld_printf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/rtld-elf/rtld_printf.c')
-rw-r--r--libexec/rtld-elf/rtld_printf.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/libexec/rtld-elf/rtld_printf.c b/libexec/rtld-elf/rtld_printf.c
index aedaf5104e31..48a148f72dff 100644
--- a/libexec/rtld-elf/rtld_printf.c
+++ b/libexec/rtld-elf/rtld_printf.c
@@ -489,6 +489,18 @@ rtld_fdprintf(int fd, const char *fmt, ...)
return (retval);
}
+int
+rtld_fdprintfx(int fd, const char *fmt, ...)
+{
+ va_list ap;
+ int retval;
+
+ va_start(ap, fmt);
+ retval = rtld_vfdprintf(fd, fmt, ap);
+ va_end(ap);
+ return (retval);
+}
+
void
rtld_fdputstr(int fd, const char *str)
{