Skip to content
Snippets Groups Projects
Commit 7ddca915 authored by Morris Jette's avatar Morris Jette
Browse files

Remove spaces from recent patch

parent e41807f3
No related branches found
No related tags found
No related merge requests found
...@@ -486,10 +486,10 @@ _make_tmpdir(slurmd_job_t *job) ...@@ -486,10 +486,10 @@ _make_tmpdir(slurmd_job_t *job)
else if (mkdir(tmpdir, 0700) < 0) { else if (mkdir(tmpdir, 0700) < 0) {
struct stat st; struct stat st;
int mkdir_errno = errno; int mkdir_errno = errno;
if (stat(tmpdir, &st)) { /* does the file exist ? */ if (stat(tmpdir, &st)) { /* does the file exist ? */
/* show why we were not able to create it */ /* 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)); tmpdir, strerror(mkdir_errno));
} else if (!S_ISDIR(st.st_mode)) { /* is it a directory? */ } else if (!S_ISDIR(st.st_mode)) { /* is it a directory? */
error("TMPDIR [%s] is not a directory", tmpdir); error("TMPDIR [%s] is not a directory", tmpdir);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment