summaryrefslogtreecommitdiff
path: root/nuttx/libc/unistd
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
commit697666a4f68ea2cd163cbba71dd703ee7b8efab5 (patch)
tree131c191493d4b1db094cddb4ce39e9d75c539daf /nuttx/libc/unistd
parenta98403873095d93cc68226cc63f15a6194bf2268 (diff)
downloadpx4-nuttx-697666a4f68ea2cd163cbba71dd703ee7b8efab5.tar.gz
px4-nuttx-697666a4f68ea2cd163cbba71dd703ee7b8efab5.tar.bz2
px4-nuttx-697666a4f68ea2cd163cbba71dd703ee7b8efab5.zip
Added a test of posix_spawn()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5507 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/libc/unistd')
-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);
}