OSDN Git Service

spawn: fix building on no-mmu systems
authorMike Frysinger <vapier@gentoo.org>
Tue, 27 Mar 2012 03:41:25 +0000 (23:41 -0400)
committerMike Frysinger <vapier@gentoo.org>
Tue, 27 Mar 2012 03:42:24 +0000 (23:42 -0400)
commite2a32f75141fe523df98f4e25186391b345668d0
tree0204c868178d9b3aff55556db9b446ffd2898b5e
parentd8b4e7a80cb92b7d4562ca78f65ba42b418ea438
spawn: fix building on no-mmu systems

We don't have fork() on no-mmu, so if we're going to end up calling it,
return ENOSYS instead.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
librt/spawn.c