commit db2c54bee6776715bbce1b64b317bddd64fa076a
Author: sin <[email protected]>
Date: Fri Jan 24 16:45:14 2014 +0000
oops that should have been enprintf()
diff --git a/mktemp.c b/mktemp.c
index 4988e58..8cfd4c9 100644
--- 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
");
+ enprintf(EXIT_FAILURE, "path too long
");
if (dflag) {
if (!mkdtemp(tmppath)) {
if (!qflag)