about summary refs log tree commit diff
path: root/converter/other/pstopnm.c
diff options
context:
space:
mode:
Diffstat (limited to 'converter/other/pstopnm.c')
-rw-r--r--converter/other/pstopnm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/converter/other/pstopnm.c b/converter/other/pstopnm.c
index 9af1f83d..1dd27140 100644
--- a/converter/other/pstopnm.c
+++ b/converter/other/pstopnm.c
@@ -782,7 +782,7 @@ executeGhostscript(char                     const pstrans[],
     if (strlen(outfile_arg) > 80)
         pm_error("output file spec too long.");
     
-    rc = pipe(pipefd);
+    rc = pm_pipe(pipefd);
     if (rc < 0)
         pm_error("Unable to create pipe to talk to Ghostscript process.  "
                  "errno = %d (%s)", errno, strerror(errno));