]> diplodocus.org Git - nmh/blobdiff - test/getfullname.c
getpass.c: Move interface to own file.
[nmh] / test / getfullname.c
index 89a5491037e1253ee0018041ae8e26d39ba0c3d2..14f454238a78f412636f143635bdec3595b87346 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);
 }