From f23409f65a53f813c5d795d5bd87eac9d44769b7 Mon Sep 17 00:00:00 2001 From: sin Date: Fri, 2 May 2014 21:38:03 +0100 Subject: [PATCH] Break long line in mktemp(1) --- mktemp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mktemp.c b/mktemp.c index d2188d1..cf2572f 100644 --- a/mktemp.c +++ b/mktemp.c @@ -42,7 +42,8 @@ main(int argc, char *argv[]) if ((p = getenv("TMPDIR"))) tmpdir = p; - if (snprintf(tmppath, sizeof(tmppath), "%s/%s", tmpdir, template) >= sizeof(tmppath)) + if (snprintf(tmppath, sizeof(tmppath), + "%s/%s", tmpdir, template) >= sizeof(tmppath)) eprintf("path too long\n"); if (dflag) { if (!mkdtemp(tmppath)) {