From 7ddca91542ac036e7912717e244e2d749df5086c Mon Sep 17 00:00:00 2001 From: Morris Jette <jette@schedmd.com> Date: Thu, 19 Jul 2012 08:45:24 -0700 Subject: [PATCH] Remove spaces from recent patch --- src/slurmd/slurmstepd/task.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/slurmd/slurmstepd/task.c b/src/slurmd/slurmstepd/task.c index 32fc2e29f11..356f852e373 100644 --- a/src/slurmd/slurmstepd/task.c +++ b/src/slurmd/slurmstepd/task.c @@ -486,10 +486,10 @@ _make_tmpdir(slurmd_job_t *job) else if (mkdir(tmpdir, 0700) < 0) { struct stat st; int mkdir_errno = errno; - + if (stat(tmpdir, &st)) { /* does the file exist ? */ /* show why we were not able to create it */ - error("Unable to create TMPDIR [%s]: %s", + error("Unable to create TMPDIR [%s]: %s", tmpdir, strerror(mkdir_errno)); } else if (!S_ISDIR(st.st_mode)) { /* is it a directory? */ error("TMPDIR [%s] is not a directory", tmpdir); -- GitLab