summaryrefslogtreecommitdiff
path: root/libguile/posix.c
diff options
context:
space:
mode:
Diffstat (limited to 'libguile/posix.c')
-rw-r--r--libguile/posix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/posix.c b/libguile/posix.c
index ae9792890..3f7207bbc 100644
--- a/libguile/posix.c
+++ b/libguile/posix.c
@@ -1447,7 +1447,7 @@ SCM_DEFINE (scm_spawn_process, "spawn", 2, 0, 1,
point to a filename string that is associated with the process
image being started" (see
<https://pubs.opengroup.org/onlinepubs/9699919799/functions/posix_spawn.html>). */
- SCM_VALIDATE_NONEMPTYLIST (1, arguments);
+ SCM_VALIDATE_NONEMPTYLIST (2, arguments);
env = SCM_UNDEFINED;
in_scm = SCM_UNDEFINED;