aboutsummaryrefslogtreecommitdiff
path: root/nuttx/libc
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-10 21:39:57 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-10 21:39:57 +0000
commitf011bd7ef6f91261969ae08655016b8a7b41a796 (patch)
tree131c191493d4b1db094cddb4ce39e9d75c539daf /nuttx/libc
parent6f241ed0443cc265d7a079f4bbf8d2d67be939ff (diff)
downloadpx4-firmware-f011bd7ef6f91261969ae08655016b8a7b41a796.tar.gz
px4-firmware-f011bd7ef6f91261969ae08655016b8a7b41a796.tar.bz2
px4-firmware-f011bd7ef6f91261969ae08655016b8a7b41a796.zip
Added a test of posix_spawn()
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5507 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/libc')
-rw-r--r--nuttx/libc/unistd/lib_execsymtab.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/libc/unistd/lib_execsymtab.c b/nuttx/libc/unistd/lib_execsymtab.c
index e95107d15..7abb2d74e 100644
--- a/nuttx/libc/unistd/lib_execsymtab.c
+++ b/nuttx/libc/unistd/lib_execsymtab.c
@@ -107,7 +107,7 @@ void exec_getsymtab(FAR struct symtab_s **symtab, FAR int *nsymbols)
* size are returned as a single atomic operation.
*/
- flags = irqsave();
+ flags = irqsave();
*symtab = g_exec_symtab;
*nsymbols = g_exec_nsymbols;
irqrestore(flags);
@@ -138,8 +138,8 @@ void exec_setsymtab(FAR const struct symtab_s *symtab, int nsymbols)
* size are set as a single atomic operation.
*/
- flags = irqsave();
- g_exec_symtab = symtab;
+ flags = irqsave();
+ g_exec_symtab = symtab;
g_exec_nsymbols = nsymbols;
irqrestore(flags);
}