More changes to reduce complaints from CppCheck. Some latent bugs fixes, but probably some new typos introduced

This commit is contained in:
Gregory Nutt
2014-02-10 19:11:56 -06:00
parent c7fe4a15e9
commit 3669b6799a
21 changed files with 80 additions and 72 deletions

View File

@@ -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;
}