From d9af80b0bbc1a43a8da02cadb2d8841fe54bf0de Mon Sep 17 00:00:00 2001 From: Simon Wilkinson Date: Sat, 6 Feb 2010 14:04:50 +0100 Subject: [PATCH] Unix CM: Make cache bypass build again My recent afs_pioctl changes broke the build when cache bypass is enabled. Fix this. Change-Id: I515ff3c743d8f63c086ead86991ad6cd9faaab93 Reviewed-on: http://gerrit.openafs.org/1280 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- src/afs/afs_pioctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/afs/afs_pioctl.c b/src/afs/afs_pioctl.c index 9b60700c4..79baf27d8 100644 --- a/src/afs/afs_pioctl.c +++ b/src/afs/afs_pioctl.c @@ -5004,8 +5004,8 @@ DECL_PIOCTL(PSetCachingThreshold) } /* Return the current size threshold */ - if (getting) { - return afs_pd_putInt32(aout, cache_bypass_threshold); + if (getting) + return afs_pd_putInt(aout, cache_bypass_threshold); return(0); } -- 2.39.5