summaryrefslogtreecommitdiffhomepage
path: root/digital/io/src/debug.host.h
diff options
context:
space:
mode:
Diffstat (limited to 'digital/io/src/debug.host.h')
-rw-r--r--digital/io/src/debug.host.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/digital/io/src/debug.host.h b/digital/io/src/debug.host.h
index f4c9b72f..4930b937 100644
--- a/digital/io/src/debug.host.h
+++ b/digital/io/src/debug.host.h
@@ -33,7 +33,8 @@
#ifdef HOST
#include <stdio.h>
-#define DPRINTF(format, args...) do { printf ((format), ## args); } while (0)
+#define DPRINTF(format, args...) \
+ do { fprintf (stderr, (format), ## args); } while (0)
#else /* HOST */
#define DPRINTF(format, args...)
#endif /* HOST */