summaryrefslogtreecommitdiff
path: root/nuttx/syscall
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-09-12 17:09:18 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-09-12 17:09:18 -0600
commitc5706e59a0621fbf9256c0a47a70b08359352aa7 (patch)
treec89d05e853441bf1daf62a49e1217c3bd22ccc1a /nuttx/syscall
parent738d21f532f77a961ea8832a92397420618367b3 (diff)
downloadnuttx-c5706e59a0621fbf9256c0a47a70b08359352aa7.tar.gz
nuttx-c5706e59a0621fbf9256c0a47a70b08359352aa7.tar.bz2
nuttx-c5706e59a0621fbf9256c0a47a70b08359352aa7.zip
Fix more errors associated with posix_spawn system calls
Diffstat (limited to 'nuttx/syscall')
-rw-r--r--nuttx/syscall/syscall_lookup.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/syscall/syscall_lookup.h b/nuttx/syscall/syscall_lookup.h
index cdf177b30..49bd22b8a 100644
--- a/nuttx/syscall/syscall_lookup.h
+++ b/nuttx/syscall/syscall_lookup.h
@@ -100,11 +100,11 @@ SYSCALL_LOOKUP(up_assert, 2, STUB_up_assert)
* programs from a file system.
*/
-#if defined(CONFIG_BINFMT_DISABLE) && defined(CONFIG_LIBC_EXECFUNCS)
+#if !defined(CONFIG_BINFMT_DISABLE) && defined(CONFIG_LIBC_EXECFUNCS)
# ifdef CONFIG_BINFMT_EXEPATH
- SYSCALL_LOOKUP(posix_spawnp, 6, SYS_posixspawnp)
+ SYSCALL_LOOKUP(posix_spawnp, 6, SYS_posix_spawnp)
# else
- SYSCALL_LOOKUP(posix_spawn, 6, SYS_posixspawn)
+ SYSCALL_LOOKUP(posix_spawn, 6, SYS_posix_spawn)
# endif
SYSCALL_LOOKUP(execv, 2, SYS_execv)
SYSCALL_LOOKUP(execl, 6, SYS_execl)