mktemp: make default tempfile template shorter;

make help text more understandable
This commit is contained in:
Denis Vlasenko
2008-06-08 20:40:33 +00:00
parent b8c9354114
commit f2cccbce37
2 changed files with 2 additions and 2 deletions

View File

@@ -43,7 +43,7 @@ int mktemp_main(int argc ATTRIBUTE_UNUSED, char **argv)
opt_complementary = "?1"; /* 1 argument max */
opt = getopt32(argv, "dqtp:", &path);
chp = argv[optind] ? argv[optind] : xstrdup("tmp.XXXXXXXXXX");
chp = argv[optind] ? argv[optind] : xstrdup("tmp.XXXXXX");
if (opt & (4|8)) { /* -t and/or -p */
const char *dir = getenv("TMPDIR");