git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
4af75fe
)
aix-pag-complaints-20090603
author
Derrick Brashear
<shadow@dementia.org>
Wed, 3 Jun 2009 16:13:26 +0000 (16:13 +0000)
committer
Derrick Brashear
<shadow@dementia.org>
Wed, 3 Jun 2009 16:13:26 +0000 (16:13 +0000)
LICENSE IPL10
make the new code work properly, thanks to aix's complaints
src/afs/afs_pioctl.c
patch
|
blob
|
history
diff --git
a/src/afs/afs_pioctl.c
b/src/afs/afs_pioctl.c
index
d5237a0
..
e9cc972
100644
(file)
--- 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;
}