diff --git a/ChangeLog b/ChangeLog index fc7add98..4af996fa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 diff --git a/lib/tcbfuncs.c b/lib/tcbfuncs.c index 85fa046d..21833380 100644 --- a/lib/tcbfuncs.c +++ b/lib/tcbfuncs.c @@ -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. */