From 9f1b5b2ff6b6455ed0e0127dbfbedd2021b53b7d Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 10 Jan 2013 23:06:23 +0000 Subject: [PATCH] Fix problem with initialization of file actions git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5508 42af7a65-404d-4744-a932-0658087f49c3 --- libc/spawn/lib_psfa_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }