diff --git a/src/afs/afs_pioctl.c b/src/afs/afs_pioctl.c index 00a455f14a..8586d014ba 100644 --- a/src/afs/afs_pioctl.c +++ b/src/afs/afs_pioctl.c @@ -1106,7 +1106,7 @@ afs_HandlePioctl(struct vnode *avp, afs_int32 acom, if (inSize > MAXPIOCTLTOKENLEN || inSize < 0 || ablob->out_size < 0) return E2BIG; - if (inSize > AFS_LRALLOCSIZE) { + if (inSize > AFS_LRALLOCSIZ) { inData = osi_AllocLargeSpace(inSize+1); } else { inData = osi_AllocLargeSpace(AFS_LRALLOCSIZ);