diff options
Diffstat (limited to 'editor')
-rw-r--r-- | editor/pnmindex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/pnmindex.c b/editor/pnmindex.c index cb7d3702..04ac7f92 100644 --- a/editor/pnmindex.c +++ b/editor/pnmindex.c @@ -200,7 +200,7 @@ makeTempDir(const char ** const tempDirP) { asprintfN(&mytmpdir, "%s/pnmindex_%d", tmpdir, getpid()); - rc = mkdir(mytmpdir, 0700); + rc = pm_mkdir(mytmpdir, 0700); if (rc != 0) pm_error("Unable to create temporary file directory '%s'. mkdir() " "fails with errno %d (%s)", |