aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/process.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/process.c b/src/process.c
index 7bd40ad685e..e210cd4aa2a 100644
--- a/src/process.c
+++ b/src/process.c
@@ -2157,6 +2157,9 @@ Return non-nil iff we received any output before the timeout expired.")
2157 int seconds; 2157 int seconds;
2158 int useconds; 2158 int useconds;
2159 2159
2160 if (! NILP (process))
2161 CHECK_PROCESS (process, 0);
2162
2160 if (! NILP (timeout_msecs)) 2163 if (! NILP (timeout_msecs))
2161 { 2164 {
2162 CHECK_NUMBER (timeout_msecs, 2); 2165 CHECK_NUMBER (timeout_msecs, 2);