aboutsummaryrefslogtreecommitdiffstats
path: root/src/callproc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/callproc.c')
-rw-r--r--src/callproc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/callproc.c b/src/callproc.c
index 86d82466801..facaac60f2a 100644
--- a/src/callproc.c
+++ b/src/callproc.c
@@ -524,7 +524,7 @@ usage: (call-process PROGRAM &optional INFILE DESTINATION DISPLAY &rest ARGS) *
524 { 524 {
525#ifndef MSDOS 525#ifndef MSDOS
526 int fd[2]; 526 int fd[2];
527 if (pipe2 (fd, O_CLOEXEC) != 0) 527 if (emacs_pipe (fd) != 0)
528 { 528 {
529 int pipe_errno = errno; 529 int pipe_errno = errno;
530 emacs_close (filefd); 530 emacs_close (filefd);