puts() is saddened when printf() is used instead of it. --- man2/signalfd.2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/man2/signalfd.2 b/man2/signalfd.2 index 11eceee..33addbd 100644 --- a/man2/signalfd.2 +++ b/man2/signalfd.2 @@ -440,12 +440,12 @@ main(int argc, char *argv[]) handle_error("read"); if (fdsi.ssi_signo == SIGINT) { - printf("Got SIGINT\\n"); + puts("Got SIGINT"); } else if (fdsi.ssi_signo == SIGQUIT) { - printf("Got SIGQUIT\\n"); + puts("Got SIGQUIT"); exit(EXIT_SUCCESS); } else { - printf("Read unexpected signal\\n"); + puts("Read unexpected signal"); } } } -- Vitaly Sinilin <vs@xxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html