summaryrefslogtreecommitdiff
path: root/apps/graphics
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-04-16 17:20:36 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-04-16 17:20:36 +0000
commit62fb03e8a5fe25cf15fba1c106d854a0a7cb9b1f (patch)
tree20dbb76bb0ec35303c2a9267d60c872c5c867f0d /apps/graphics
parent103151bb4289ed721e1beede1fb057b6b7bbc9cc (diff)
downloadnuttx-62fb03e8a5fe25cf15fba1c106d854a0a7cb9b1f.tar.gz
nuttx-62fb03e8a5fe25cf15fba1c106d854a0a7cb9b1f.tar.bz2
nuttx-62fb03e8a5fe25cf15fba1c106d854a0a7cb9b1f.zip
Add STM32 watchdog configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4617 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/graphics')
-rw-r--r--apps/graphics/tiff/tiff_initialize.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/graphics/tiff/tiff_initialize.c b/apps/graphics/tiff/tiff_initialize.c
index 0e5b3229c..3e1328eb2 100644
--- a/apps/graphics/tiff/tiff_initialize.c
+++ b/apps/graphics/tiff/tiff_initialize.c
@@ -474,10 +474,10 @@ int tiff_initialize(FAR struct tiff_info_s *info)
goto errout;
}
- info->tmp2fd = open(info->tmpfile1, O_RDWR|O_CREAT|O_TRUNC, 0666);
+ info->tmp2fd = open(info->tmpfile2, O_RDWR|O_CREAT|O_TRUNC, 0666);
if (info->tmp2fd < 0)
{
- gdbg("Failed to open %s for reading/writing: %d\n", info->tmpfile1, errno);
+ gdbg("Failed to open %s for reading/writing: %d\n", info->tmpfile2, errno);
goto errout;
}