commit db2c54bee6776715bbce1b64b317bddd64fa076a
parent b58951b4f07e45722ac32d831625cc21070de40e
Author: sin <sin@2f30.org>
Date: Fri, 24 Jan 2014 16:45:14 +0000
oops that should have been enprintf()
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mktemp.c b/mktemp.c
@@ -43,7 +43,7 @@ main(int argc, char *argv[])
tmpdir = p;
if (snprintf(tmppath, sizeof(tmppath), "%s/%s", tmpdir, template) >= sizeof(tmppath))
- eprintf(EXIT_FAILURE, "path too long\n");
+ enprintf(EXIT_FAILURE, "path too long\n");
if (dflag) {
if (!mkdtemp(tmppath)) {
if (!qflag)