From ec51165b5134b406eecfbb2b7d53b2a094f30256 Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Wed, 3 Jun 2009 16:13:26 +0000 Subject: [PATCH] aix-pag-complaints-20090603 LICENSE IPL10 make the new code work properly, thanks to aix's complaints --- src/afs/afs_pioctl.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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; } -- 2.39.5