diff options
Diffstat (limited to 'util/libreboot-utils/mkhtemp.c')
| -rw-r--r-- | util/libreboot-utils/mkhtemp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/libreboot-utils/mkhtemp.c b/util/libreboot-utils/mkhtemp.c index e900c29b..261227cb 100644 --- a/util/libreboot-utils/mkhtemp.c +++ b/util/libreboot-utils/mkhtemp.c @@ -140,9 +140,9 @@ main(int argc, char *argv[]) for (p = template + tlen; p > template && *--p == 'X'; xc++); - if (xc < 6) + if (xc < 3) /* the gnu mktemp errs on less than 3 */ err_no_cleanup(stfu, EINVAL, - "template must end in at least 6 X"); + "template must have 3 X or more on end (12+ advised"); } /* user supplied -p PATH - WARNING: |
