The call to afsconf_AddKey was using 'akey' rather than 'akey->data'.
As data is the first element of the akey structure, these are actually
identical, but the compiler sees it as a type error. Fix to use the
correct name, and remove the warning inhibition.
Change-Id: Id4775a836276ddd6f5ae105c298dcc3c68b92145
Reviewed-on: http://gerrit.openafs.org/810
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
: all : call_syscall missing prototype
auth/ktc.c : all (ukernel) : call_syscall doesn't have a prototype
bozo/bosserver.c : deprecated : daemon() marked as deprecated on Darwin
-bozo/bosoprocs.c : all : ExtendedCellInfo and des key types
bozo/bos.c : all : DES key types & string consts
bozo/bos_util.c : all : DES key types
bucoord/ubik_db_if.c : strict-proto : Ubik_Call
bnode.o: bnode.c ${INCLS}
bosoprocs.o: bosoprocs.c ${INCLS}
- $(CC) $(CFLAGS) @CFLAGS_NOERROR@ -c $<
bos.o: bos.c ${INCLS} AFS_component_version_number.o
$(CC) $(CFLAGS) @CFLAGS_NOERROR@ -c $<
if (DoLogging)
bozo_Log("%s is executing AddKey\n", caller);
- code = afsconf_AddKey(bozo_confdir, an, akey, 0);
+ code = afsconf_AddKey(bozo_confdir, an, akey->data, 0);
if (code == AFSCONF_KEYINUSE)
code = BZKEYINUSE; /* Unique code for afs rpc calls */
fail: