]> diplodocus.org Git - nmh/blobdiff - test/getfullname.c
pidstatus.c: Move interface to own file.
[nmh] / test / getfullname.c
index 89a5491..14f4542 100644 (file)
@@ -1,5 +1,4 @@
-/*
- * getfullname.c - Extract a user's name out of the GECOS field in
+/* getfullname.c - Extract a user's name out of the GECOS field in
  *                the password file.
  *
  * This code is Copyright (c) 2012, by the authors of nmh.  See the
@@ -53,8 +52,7 @@ main(int argc, char *argv[])
         * Quote the entire string if it has a special character in it.
         */
        escape_display_name (buf, sizeof(buf));
-
-       printf("%s\n", buf);
+       puts(buf);
 
        exit(0);
 }