fix bogus flush of stderr
This commit is contained in:
4
check.c
4
check.c
@@ -868,7 +868,7 @@ static void reminder()
|
|||||||
(void) fprintf(stderr, "\n%s\n%s\n\n%s\n%s\n\n",
|
(void) fprintf(stderr, "\n%s\n%s\n\n%s\n%s\n\n",
|
||||||
#else
|
#else
|
||||||
(void) fprintf(stderr, "\n%s\n%s\n%s\n%s\n\n%s\n%s\n\n%s\n%s\n\n",
|
(void) fprintf(stderr, "\n%s\n%s\n%s\n%s\n\n%s\n%s\n\n%s\n%s\n\n",
|
||||||
" CU sudo version 1.5.5b1.5.5, based on Root Group sudo version 1.1",
|
" CU sudo version 1.5.5b1, based on Root Group sudo version 1.1",
|
||||||
" sudo version 1.1, Copyright (C) 1991 The Root Group, Inc.",
|
" sudo version 1.1, Copyright (C) 1991 The Root Group, Inc.",
|
||||||
" sudo comes with ABSOLUTELY NO WARRANTY. This is free software,",
|
" sudo comes with ABSOLUTELY NO WARRANTY. This is free software,",
|
||||||
" and you are welcome to redistribute it under certain conditions.",
|
" and you are welcome to redistribute it under certain conditions.",
|
||||||
@@ -878,7 +878,5 @@ static void reminder()
|
|||||||
" #1) Respect the privacy of others.",
|
" #1) Respect the privacy of others.",
|
||||||
" #2) Think before you type."
|
" #2) Think before you type."
|
||||||
);
|
);
|
||||||
|
|
||||||
(void) fflush(stderr);
|
|
||||||
}
|
}
|
||||||
#endif /* NO_MESSAGE */
|
#endif /* NO_MESSAGE */
|
||||||
|
Reference in New Issue
Block a user