sbase

suckless unix tools
git clone git://git.2f30.org/sbase
Log | Files | Refs | README | LICENSE

commit f23409f65a53f813c5d795d5bd87eac9d44769b7
parent 0bc6b1377b44ad76805b991cd1f5ba2655651bb8
Author: sin <sin@2f30.org>
Date:   Fri,  2 May 2014 21:38:03 +0100

Break long line in mktemp(1)

Diffstat:
Mmktemp.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 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)) {