From: Johan Danielsson Date: Tue, 6 Mar 2001 22:20:16 +0000 (+0000) Subject: STABLE10-support-dux-51-20010305 X-Git-Tag: openafs-stable-1_0_3~15 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=93f1dd5021f88e6c1e39c3e32b2f74aff91708bc;p=packages%2Fo%2Fopenafs.git STABLE10-support-dux-51-20010305 (cherry picked from commit bc5204d4e79198501608be68434106c7be119d67) --- diff --git a/src/afs/DUX/osi_vfsops.c b/src/afs/DUX/osi_vfsops.c index 7052de6a1..87342e45e 100644 --- a/src/afs/DUX/osi_vfsops.c +++ b/src/afs/DUX/osi_vfsops.c @@ -480,8 +480,12 @@ int mp_Afs_init(void) AFS_GLOCK(); sysent[AFS_SYSCALL].sy_call = afs3_syscall; +#ifdef SY_NARG + sysent[AFS_SYSCALL].sy_info = 6; +#else sysent[AFS_SYSCALL].sy_parallel = 0; sysent[AFS_SYSCALL].sy_narg = 6; +#endif sysent[SYS_setgroups].sy_call = Afs_xsetgroups; afs_xioctl_func = afsxioctl; afs_xsetgroups_func = afsxsetgroups; diff --git a/src/util/snprintf.c b/src/util/snprintf.c index 4aa08b761..75b85e74b 100644 --- a/src/util/snprintf.c +++ b/src/util/snprintf.c @@ -1,7 +1,7 @@ /* snprintf.c - Formatted, length-limited print to a string */ #include -#if defined(AFS_OSF20_ENV) || defined(AFS_AIX32_ENV) +#if defined(AFS_OSF20_ENV) && !defined(AFS_DUX50_ENV) || defined(AFS_AIX32_ENV) #include #include