diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-01-28 21:55:16 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-01-28 21:55:16 +0000 |
commit | 79ccfa4ae6db4b085703b12c8f6846716fc69df7 (patch) | |
tree | d6bc886b1d8c6772e245e715bb2676d95b8a9b78 /nuttx/libc/stdio/lib_printf.c | |
parent | 433dae74225a98c5ed65834b8574eea90259e220 (diff) | |
download | px4-firmware-79ccfa4ae6db4b085703b12c8f6846716fc69df7.tar.gz px4-firmware-79ccfa4ae6db4b085703b12c8f6846716fc69df7.tar.bz2 px4-firmware-79ccfa4ae6db4b085703b12c8f6846716fc69df7.zip |
Add syslog.h; rename lib_rawprintf() to syslog()
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5578 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/libc/stdio/lib_printf.c')
-rw-r--r-- | nuttx/libc/stdio/lib_printf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/libc/stdio/lib_printf.c b/nuttx/libc/stdio/lib_printf.c index 0e90c7ca5..b035aa14f 100644 --- a/nuttx/libc/stdio/lib_printf.c +++ b/nuttx/libc/stdio/lib_printf.c @@ -93,9 +93,9 @@ int printf(const char *fmt, ...) #if CONFIG_NFILE_STREAMS > 0 ret = vfprintf(stdout, fmt, ap); #elif CONFIG_NFILE_DESCRIPTORS > 0 - ret = lib_rawvprintf(fmt, ap); + ret = vsyslog(fmt, ap); #elif defined(CONFIG_ARCH_LOWPUTC) - ret = lib_lowvprintf(fmt, ap); + ret = lowvsyslog(fmt, ap); #else # ifdef CONFIG_CPP_HAVE_WARNING # warning "printf has no data sink" |