summary refs log tree commit diff
path: root/stdio-common/tst-tmpnam.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/tst-tmpnam.c')
-rw-r--r--stdio-common/tst-tmpnam.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdio-common/tst-tmpnam.c b/stdio-common/tst-tmpnam.c
index 2a23a14149..3253575ccd 100644
--- a/stdio-common/tst-tmpnam.c
+++ b/stdio-common/tst-tmpnam.c
@@ -21,7 +21,7 @@
 #include <string.h>
 
 int
-main (int argc, char *argv[])
+main (void)
 {
   const char *name;
   int retval = 0;
@@ -33,7 +33,7 @@ main (int argc, char *argv[])
 
   printf ("name = %s\n", name);
 
-  /* Make sure the name is based on the value in TMPDIR.  */
+  /* Make sure the name is not based on the value in TMPDIR.  */
   if (strncmp (name, "/usr", 4) == 0)
     {
       puts ("error: `tmpnam' used TMPDIR value");