From c32a0049ee4f5dc2df5af7522440ee1402019b3a Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Fri, 19 Jan 2001 09:52:21 +0000 Subject: [PATCH] STABLE10-cleanup-pioctl-cryptall-interface-20010119 Complete port of patch to current code (cherry picked from commit e19270efa90eaa75b7bee74e80ef3ab6579da930) --- src/afs/afs_pioctl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/afs/afs_pioctl.c b/src/afs/afs_pioctl.c index 51cb65e88..314f61788 100644 --- a/src/afs/afs_pioctl.c +++ b/src/afs/afs_pioctl.c @@ -60,6 +60,7 @@ static int PSetSPrefs(), PGetSPrefs(), PGag(), PTwiddleRx(); static int PSetSPrefs33(), PStoreBehind(), PGCPAGs(); static int PGetCPrefs(), PSetCPrefs(); /* client network addresses */ static int PGetInitParams(), PFlushMount(), PRxStatProc(), PRxStatPeer(); +static int PGetRxkcrypt(), PSetRxkcrypt(); int PExportAfs(); static int HandleClientContext(struct afs_ioctl *ablob, int *com, struct AFS_UCRED **acred, struct AFS_UCRED *credp); @@ -3144,7 +3145,7 @@ afs_int32 ainSize; afs_int32 *aoutSize; struct AFS_UCRED *acred; { - bcopy((char *)&cryptall, aout, sizeof(int32)); + bcopy((char *)&cryptall, aout, sizeof(afs_int32)); *aoutSize=sizeof(afs_int32); return 0; } -- 2.39.5