diff --git a/libc/spawn/lib_psfa_init.c b/libc/spawn/lib_psfa_init.c index cb638d6e7b..4e23703aec 100644 --- a/libc/spawn/lib_psfa_init.c +++ b/libc/spawn/lib_psfa_init.c @@ -65,6 +65,6 @@ int posix_spawn_file_actions_init(FAR posix_spawn_file_actions_t *file_actions) { - file_actions = NULL; + *file_actions = NULL; return OK; }