diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-02-10 19:11:56 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-02-10 19:11:56 -0600 |
commit | 797e41438176de465272bef182e035cd0fe5884a (patch) | |
tree | 3af4825ad5b2c3bd579305d025c35d6a3b96c9a1 /apps/examples/pipe | |
parent | 6db1f6f71c8867cbae3a2c5597b01f321064a370 (diff) | |
download | nuttx-797e41438176de465272bef182e035cd0fe5884a.tar.gz nuttx-797e41438176de465272bef182e035cd0fe5884a.tar.bz2 nuttx-797e41438176de465272bef182e035cd0fe5884a.zip |
More changes to reduce complaints from CppCheck. Some latent bugs fixes, but probably some new typos introduced
Diffstat (limited to 'apps/examples/pipe')
-rw-r--r-- | apps/examples/pipe/interlock_test.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/examples/pipe/interlock_test.c b/apps/examples/pipe/interlock_test.c index 20d4113eb..9cdfaec5c 100644 --- a/apps/examples/pipe/interlock_test.c +++ b/apps/examples/pipe/interlock_test.c @@ -172,7 +172,8 @@ int interlock_test(void) } else if (ret != 0) { - fprintf(stderr, "interlock_test: Read %d bytes of data -- aborting: %d\n", nbytes); + fprintf(stderr, "interlock_test: Read %d bytes of data -- aborting: %d\n", + nbytes, errno); ret = 5; goto errout_with_file; } |