]> diplodocus.org Git - nmh/blobdiff - test/getfullname.c
Fix invalid pointer arithmetic.
[nmh] / test / getfullname.c
index 89a5491037e1253ee0018041ae8e26d39ba0c3d2..9a342ca1a8f9a6ca6f23b33bc6064800da450807 100644 (file)
@@ -53,8 +53,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);
 }