diff --git a/util/amisc/astrip.c b/util/amisc/astrip.c index 0a1f6d961..062c486da 100644 --- a/util/amisc/astrip.c +++ b/util/amisc/astrip.c @@ -14,7 +14,7 @@ */ -char tmpnam[] = "/tmp/sXXXXXX"; +char temp_name[] = "/tmp/sXXXXXX"; char *tname; char *mktemp(); FILE *fopen(); @@ -30,7 +30,7 @@ char **argv; signal(SIGHUP, SIG_IGN); signal(SIGINT, SIG_IGN); signal(SIGQUIT, SIG_IGN); - tname = mktemp(tmpnam); + tname = mktemp(temp_name); while(--argc) { if ((status = strip(argv[argc])) > 1) break;