diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 1995-05-02 13:14:59 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 1995-05-02 13:14:59 +0000 |
| commit | c5e15878bda51371907070c67d17f159849f3bd1 (patch) | |
| tree | d9ee89d1ad497c008be5c10d1943e5b45611138e | |
| parent | 72574b421926c02e532065006e757727b15536f4 (diff) | |
Notes
| -rw-r--r-- | sys/i386/ibcs2/ibcs2_xenix.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/sys/i386/ibcs2/ibcs2_xenix.c b/sys/i386/ibcs2/ibcs2_xenix.c index 0be94d7b5c96..656d033b76d5 100644 --- a/sys/i386/ibcs2/ibcs2_xenix.c +++ b/sys/i386/ibcs2/ibcs2_xenix.c @@ -260,14 +260,18 @@ ibcs2_cxenix(struct proc *p, void *args, int *retval) *retval = (OPEN_MAX); break; case 5: /* _SC_JOB_CONTROL */ -#ifdef _POSIX_JOB_CONTORL - *retval = _POSIX_JOB_CONTORL; +#ifdef _POSIX_JOB_CONTROL + *retval = (1); #else - *retval = (0); + *retval = (-1); #endif break; case 6: /* _SC_SAVED_IDS */ - *retval = (0); +#ifdef _POSIX_SAVED_IDS + *retval = (1); +#else + *retval = (-1); +#endif break; case 7: /* _SC_VERSION */ *retval = (_POSIX_VERSION); |
