From 8f11ee79949e0ee0ae347052aaa6f0ca476118c4 Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 14 Jul 2018 20:26:54 -0400 Subject: driver: argv usage and error output: use the signal-resilient mdso_dprintf(). --- src/internal/mdso_dprintf_impl.h | 4 ++++ src/internal/mdso_driver_impl.h | 1 + 2 files changed, 5 insertions(+) diff --git a/src/internal/mdso_dprintf_impl.h b/src/internal/mdso_dprintf_impl.h index 0b3b079..f77a0e4 100644 --- a/src/internal/mdso_dprintf_impl.h +++ b/src/internal/mdso_dprintf_impl.h @@ -1,6 +1,10 @@ #ifndef MDSO_DPRINTF_IMPL_H #define MDSO_DPRINTF_IMPL_H +#ifdef ARGV_DRIVER +#define argv_dprintf mdso_dprintf +#endif + int mdso_dprintf(int fd, const char * fmt, ...); #endif diff --git a/src/internal/mdso_driver_impl.h b/src/internal/mdso_driver_impl.h index 2107302..8fe6f35 100644 --- a/src/internal/mdso_driver_impl.h +++ b/src/internal/mdso_driver_impl.h @@ -6,6 +6,7 @@ #include #include +#include "mdso_dprintf_impl.h" #include "argv/argv.h" #ifdef __PE__ -- cgit v1.2.3