mirror of
https://git.openafs.org/openafs.git
synced 2025-01-22 08:50:17 +00:00
Zero out some fields to avoid random crashes in "cmdebug host -cache".
This commit is contained in:
parent
c5222d45ec
commit
9a1af10848
@ -38,6 +38,7 @@ static PrintCacheConfig(aconn)
|
||||
int code;
|
||||
|
||||
c.cacheConfig_len = 0;
|
||||
c.cacheConfig_val = NULL;
|
||||
code = RXAFSCB_GetCacheConfig(aconn, 1, &srv_ver, &conflen, &c);
|
||||
if (code) {
|
||||
printf("cmdebug: error checking cache config: %s\n",
|
||||
|
Loading…
Reference in New Issue
Block a user