* lib/tcbfuncs.c: Ignore fflush() return value.

This commit is contained in:
nekral-guest 2010-03-18 00:03:29 +00:00
parent 4ca259adaa
commit 1d969818fd
2 changed files with 2 additions and 1 deletions

View File

@ -13,6 +13,7 @@
* lib/tcbfuncs.c: Do not free path before its last use.
* lib/tcbfuncs.c: Include shadowio.h, needed for the
spw_setdbname's prototype.
* lib/tcbfuncs.c: Ignore fflush() return value.
2010-03-17 Nicolas François <nicolas.francois@centraliens.net>

View File

@ -66,7 +66,7 @@ shadowtcb_status shadowtcb_gain_priv()
*/
#define OUT_OF_MEMORY do { \
fprintf(stderr, _("%s: out of memory\n"), Prog); \
fflush(stderr); \
(void) fflush(stderr); \
} while(false)
/* Returns user's tcb directory path relative to TCB_DIR. */