diff options
| author | John Birrell <jb@FreeBSD.org> | 1998-03-09 04:39:13 +0000 |
|---|---|---|
| committer | John Birrell <jb@FreeBSD.org> | 1998-03-09 04:39:13 +0000 |
| commit | e91bce7ac7aa5e3cf5f30b80aa6190963920ae14 (patch) | |
| tree | 81757f9e61af41936f26eff68cca13eeb45c7b87 /lib/libc | |
| parent | ee51c92b78158ad1a1e9f819b2f7c71bce8b4165 (diff) | |
Notes
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/gen/semctl.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libc/gen/semctl.c b/lib/libc/gen/semctl.c index 313a1dbeda8f..b0ed72350382 100644 --- a/lib/libc/gen/semctl.c +++ b/lib/libc/gen/semctl.c @@ -11,5 +11,9 @@ int semctl(semid, int semnum, cmd, semun) union semun semun; #endif { +#ifdef __NETBSD_SYSCALLS + return (__semctl(semid, semnum, cmd, &semun)); +#else return (semsys(0, semid, semnum, cmd, &semun)); +#endif } |
