diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-11-25 17:28:22 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-11-25 17:28:22 -0600 |
commit | 3b30b15798435370f31fa27c19cb45aed67e4cc5 (patch) | |
tree | 6f753bdfa10fc1663df506a9cf24f273f6e149bb /apps/system/vi/vi.c | |
parent | f9fea7cc72b6fdeece853f6753e8a6395d281c32 (diff) | |
download | nuttx-3b30b15798435370f31fa27c19cb45aed67e4cc5.tar.gz nuttx-3b30b15798435370f31fa27c19cb45aed67e4cc5.tar.bz2 nuttx-3b30b15798435370f31fa27c19cb45aed67e4cc5.zip |
More ccpcheck-related fixes
Diffstat (limited to 'apps/system/vi/vi.c')
-rw-r--r-- | apps/system/vi/vi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/system/vi/vi.c b/apps/system/vi/vi.c index c2524f887..6289ee219 100644 --- a/apps/system/vi/vi.c +++ b/apps/system/vi/vi.c @@ -1230,6 +1230,7 @@ static bool vi_savetext(FAR struct vi_s *vi, FAR const char *filename, /* Report the error (or partial write). EINTR is not handled. */ vi_error(vi, g_fmtcmdfail, "fwrite", errno); + (void)fclose(stream); return false; } |