[rtems-libbsd commit] Use integer-only printf for syslog()
Sebastian Huber
sebh at rtems.org
Fri Dec 20 14:29:29 UTC 2013
Module: rtems-libbsd
Branch: master
Commit: f5f4cad2a1a46a0b338ef51c1a88b0aeedaf6ff9
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=f5f4cad2a1a46a0b338ef51c1a88b0aeedaf6ff9
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Fri Dec 20 13:40:38 2013 +0100
Use integer-only printf for syslog()
---
rtemsbsd/rtems/syslog.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/rtemsbsd/rtems/syslog.c b/rtemsbsd/rtems/syslog.c
index f2f20fd..7d3128b 100644
--- a/rtemsbsd/rtems/syslog.c
+++ b/rtemsbsd/rtems/syslog.c
@@ -18,6 +18,8 @@
#include <unistd.h>
+#include <machine/rtems-bsd-printf-to-iprintf.h>
+
static int LogStatus = LOG_CONS;
static const char *LogTag = "syslog";
static int LogFacility = LOG_USER;
More information about the vc
mailing list