From: Derrick Brashear Date: Wed, 3 Jun 2009 16:13:26 +0000 (+0000) Subject: aix-pag-complaints-20090603 X-Git-Tag: openafs-devel-1_5_61~261 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=ec51165b5134b406eecfbb2b7d53b2a094f30256;p=packages%2Fo%2Fopenafs.git aix-pag-complaints-20090603 LICENSE IPL10 make the new code work properly, thanks to aix's complaints --- diff --git a/src/afs/afs_pioctl.c b/src/afs/afs_pioctl.c index d5237a0ff..e9cc972ae 100644 --- a/src/afs/afs_pioctl.c +++ b/src/afs/afs_pioctl.c @@ -583,8 +583,7 @@ afs_xioctl(void) #ifdef AFS_LINUX22_ENV return -code; #else - setuerror(code); - return; + return (setuerror(code), code); #endif #endif #endif @@ -2400,7 +2399,7 @@ DECL_PIOCTL(PGetPAG) { afs_int32 pag; - if (aoutSize < sizeof(afs_int32)) { + if (*aoutSize < sizeof(afs_int32)) { return E2BIG; }