]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE10-cleanup-pioctl-cryptall-interface-20010119
authorDerrick Brashear <shadow@dementia.org>
Fri, 19 Jan 2001 09:52:21 +0000 (09:52 +0000)
committerDerrick Brashear <shadow@dementia.org>
Fri, 19 Jan 2001 09:52:21 +0000 (09:52 +0000)
Complete port of patch to current code

(cherry picked from commit e19270efa90eaa75b7bee74e80ef3ab6579da930)

src/afs/afs_pioctl.c

index 51cb65e88de610048ef4955ff5222e574f104cf2..314f61788433e263f15ac355dc541a80406362a2 100644 (file)
@@ -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;
 }