Browse Source

mktemp: in /tmp by default

K. Lange 2 years ago
parent
commit
947d8ddde7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      apps/mktemp.c

+ 1 - 1
apps/mktemp.c

@@ -37,7 +37,7 @@ int main(int argc, char * argv[]) {
 	int i = optind;
 
 	if (i == argc) {
-		template = strdup("tmp.XXXXXX");
+		template = strdup("/tmp/tmp.XXXXXX");
 	} else {
 		template = strdup(argv[i]);
 	}