diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-04-13 18:25:25 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-04-13 18:25:25 +0000 |
commit | ad5d9b182e47231c38c058ddace4540960b6e58a (patch) | |
tree | 5ac6ab187c0bf9dbb8eea91d25b56469a5a5e77e /nuttx/lib/stdio | |
parent | 3d0f11b2a4c2e0cc39aa3fd221403918f8c51205 (diff) | |
download | px4-nuttx-ad5d9b182e47231c38c058ddace4540960b6e58a.tar.gz px4-nuttx-ad5d9b182e47231c38c058ddace4540960b6e58a.tar.bz2 px4-nuttx-ad5d9b182e47231c38c058ddace4540960b6e58a.zip |
Fix backward conditional compilation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4601 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/lib/stdio')
-rw-r--r-- | nuttx/lib/stdio/lib_libvsprintf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/lib/stdio/lib_libvsprintf.c b/nuttx/lib/stdio/lib_libvsprintf.c index dd2c5f83f..8d521c35e 100644 --- a/nuttx/lib/stdio/lib_libvsprintf.c +++ b/nuttx/lib/stdio/lib_libvsprintf.c @@ -1558,7 +1558,7 @@ int lib_vsprintf(FAR struct lib_outstream_s *obj, FAR const char *src, va_list a #ifdef CONFIG_LIBC_FLOATINGPOINT else if (strchr("eEfgG", FMT_CHAR)) { -#ifdef CONFIG_NOPRINTF_FIELDWIDTH +#ifndef CONFIG_NOPRINTF_FIELDWIDTH double dblval = va_arg(ap, double); int dblsize; |