X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/c6f2d14d9c38345075629af3487c2de491584ca1..bfc6b93af:/uip/pick.c?ds=inline diff --git a/uip/pick.c b/uip/pick.c index 9b2e0cde..801716fe 100644 --- a/uip/pick.c +++ b/uip/pick.c @@ -253,7 +253,7 @@ main (int argc, char **argv) admonish (cp, "unable to read message"); if (fp && pmatches (fp, msgnum, 0L, 0L, debug)) { if (listsw) - printf ("%s\n", m_name (msgnum)); + puts(m_name (msgnum)); } else { app_msgnum(&nums, msgnum); } @@ -324,6 +324,6 @@ static void putzero_done (int status) { if (listsw && status && !isatty (fileno (stdout))) - printf ("0\n"); + puts("0"); exit (status); }