[hackers] [sbase] oops that should have been enprintf() || sin
commit db2c54bee6776715bbce1b64b317bddd64fa076a
Author: sin <sin_AT_2f30.org>
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
_AT_@ -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)
Received on Fri Jan 24 2014 - 17:47:17 CET
This archive was generated by hypermail 2.3.0
: Fri Jan 24 2014 - 17:48:09 CET