1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 03:40:34 +02:00

Fix argument number in 'spawn' type check.

* libguile/posix.c (scm_spawn_process): Fix argument number in
'SCM_VALIDATE_NONEMPTYLIST'.
This commit is contained in:
Ludovic Courtès 2023-01-18 12:13:55 +01:00
parent 9a004606e0
commit cd7475541a

View file

@ -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;