mirror of
https://git.openafs.org/openafs.git
synced 2025-01-22 17:00:15 +00:00
Fix warnings from afsconf_SetExtendedCellInfo
If a is declared as an array, then a == &a. However, the compiler
still gives a type warning when usign the & form, as the types no
longer match. 5f720faab9
fixed this
problem for calls to GetExtendedCellInfo - do the same for the
corresponding Set calls.
Change-Id: I8204afe7df0c0db1d059cb3f6ab61eff1cdf9140
Reviewed-on: http://gerrit.openafs.org/808
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
parent
c90132f2af
commit
cbe83cb1a1
@ -398,7 +398,7 @@ SBOZO_SetCellName(struct rx_call *acall, char *aname)
|
|||||||
strcpy(tcell.name, aname);
|
strcpy(tcell.name, aname);
|
||||||
code =
|
code =
|
||||||
afsconf_SetExtendedCellInfo(bozo_confdir, AFSDIR_SERVER_ETC_DIRPATH,
|
afsconf_SetExtendedCellInfo(bozo_confdir, AFSDIR_SERVER_ETC_DIRPATH,
|
||||||
&tcell, &clones);
|
&tcell, clones);
|
||||||
|
|
||||||
fail:
|
fail:
|
||||||
osi_auditU(acall, BOS_SetCellEvent, code, AUD_STR, aname, AUD_END);
|
osi_auditU(acall, BOS_SetCellEvent, code, AUD_STR, aname, AUD_END);
|
||||||
@ -501,7 +501,7 @@ SBOZO_DeleteCellHost(struct rx_call *acall, char *aname)
|
|||||||
memset(tcell.hostName[which], 0, MAXHOSTCHARS);
|
memset(tcell.hostName[which], 0, MAXHOSTCHARS);
|
||||||
code =
|
code =
|
||||||
afsconf_SetExtendedCellInfo(bozo_confdir, AFSDIR_SERVER_ETC_DIRPATH,
|
afsconf_SetExtendedCellInfo(bozo_confdir, AFSDIR_SERVER_ETC_DIRPATH,
|
||||||
&tcell, &clones);
|
&tcell, clones);
|
||||||
|
|
||||||
fail:
|
fail:
|
||||||
osi_auditU(acall, BOS_DeleteHostEvent, code, AUD_STR, aname, AUD_END);
|
osi_auditU(acall, BOS_DeleteHostEvent, code, AUD_STR, aname, AUD_END);
|
||||||
@ -582,7 +582,7 @@ SBOZO_AddCellHost(struct rx_call *acall, char *aname)
|
|||||||
clones[which] = isClone;
|
clones[which] = isClone;
|
||||||
code =
|
code =
|
||||||
afsconf_SetExtendedCellInfo(bozo_confdir, AFSDIR_SERVER_ETC_DIRPATH,
|
afsconf_SetExtendedCellInfo(bozo_confdir, AFSDIR_SERVER_ETC_DIRPATH,
|
||||||
&tcell, &clones);
|
&tcell, clones);
|
||||||
|
|
||||||
fail:
|
fail:
|
||||||
osi_auditU(acall, BOS_AddHostEvent, code, AUD_STR, aname, AUD_END);
|
osi_auditU(acall, BOS_AddHostEvent, code, AUD_STR, aname, AUD_END);
|
||||||
|
Loading…
Reference in New Issue
Block a user