diff --git a/usr.bin/m4/main.c b/usr.bin/m4/main.c index 7ad7a6441169..6b77df8afeec 100644 --- a/usr.bin/m4/main.c +++ b/usr.bin/m4/main.c @@ -223,13 +223,9 @@ main(argc,argv) if (outfile[0] != NULL) { (void) fclose(outfile[0]); m4temp[UNIQUE] = '0'; -#ifdef vms (void) remove(m4temp); -#else - (void) unlink(m4temp); - (void) rmdir(m4dir); -#endif } + (void) remove(m4dir); return 0; }