summaryrefslogtreecommitdiffhomepage
path: root/src/internal/perk_dprintf_impl.h
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-07-14 22:08:46 -0400
committermidipix <writeonce@midipix.org>2018-07-14 22:11:25 -0400
commit6851eb440b25b9e51662510d8ae5132ce4c242be (patch)
tree42d39d7f20f0feb619f03fbc9bede83582e5e23a /src/internal/perk_dprintf_impl.h
parentc353c661a24622db379f19fb401861dea8740f4b (diff)
downloadperk-6851eb440b25b9e51662510d8ae5132ce4c242be.tar.bz2
perk-6851eb440b25b9e51662510d8ae5132ce4c242be.tar.xz
driver: argv usage and error output: use the signal-resilient pe_dprintf().
Diffstat (limited to 'src/internal/perk_dprintf_impl.h')
-rw-r--r--src/internal/perk_dprintf_impl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/internal/perk_dprintf_impl.h b/src/internal/perk_dprintf_impl.h
index 61e400d..d9dfc52 100644
--- a/src/internal/perk_dprintf_impl.h
+++ b/src/internal/perk_dprintf_impl.h
@@ -1,6 +1,10 @@
#ifndef PERK_DPRINTF_IMPL_H
#define PERK_DPRINTF_IMPL_H
+#ifdef ARGV_DRIVER
+#define argv_dprintf pe_dprintf
+#endif
+
int pe_dprintf(int fd, const char * fmt, ...);
#endif