diff options
author | Ludovic Courtès <ludo@gnu.org> | 2023-01-18 12:13:55 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2023-01-18 12:13:55 +0100 |
commit | cd7475541a9831458c30a5a3adb505b0332837f9 (patch) | |
tree | 1470b7ab417e104f1930468e0588783b56627827 | |
parent | 9a004606e067e5af68d1656ad6553c7ae353e81d (diff) | |
download | guile-cd7475541a9831458c30a5a3adb505b0332837f9.tar.gz |
Fix argument number in 'spawn' type check.
* libguile/posix.c (scm_spawn_process): Fix argument number in
'SCM_VALIDATE_NONEMPTYLIST'.
-rw-r--r-- | libguile/posix.c | 2 |
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; |