[OpenAFS-devel] patch for afs_usrops.c

Hartmut Reuter reuter@rzg.mpg.de
Wed, 31 Jul 2002 12:40:56 +0200


To make src/afs/UKERNEL/afs_usrops.c compile under AIX the following
patch is helpfull:

:cvs diff afs_usrops.c
Index: afs_usrops.c
===================================================================
RCS file: /cvs/openafs/src/afs/UKERNEL/afs_usrops.c,v
retrieving revision 1.11
diff -r1.11 afs_usrops.c
4187c4187
<   *status = iob.out;
---
>   *status = (afs_int32) iob.out;
4207c4207
<   rc = call_syscall(AFSCALL_PIOCTL, path, _VICEIOCTL(4),
---
>   rc = call_syscall(AFSCALL_PIOCTL, (long) path, _VICEIOCTL(4),
4242c4242
<   rc = call_syscall(AFSCALL_PIOCTL, path, _VICEIOCTL(5),
---
>   rc = call_syscall(AFSCALL_PIOCTL, (long) path, _VICEIOCTL(5),

Thanks,
Hartmut 
-----------------------------------------------------------------
Hartmut Reuter                           e-mail reuter@rzg.mpg.de
					   phone +49-89-3299-1328
RZG (Rechenzentrum Garching)               fax   +49-89-3299-1301 
Computing Center of the Max-Planck-Gesellschaft (MPG) and the
Institut fuer Plasmaphysik (IPP)
-----------------------------------------------------------------