Zero out some fields to avoid random crashes in "cmdebug host -cache".
authorNickolai Zeldovich <kolya@mit.edu>
Tue, 21 May 2002 07:37:53 +0000 (07:37 +0000)
committerNickolai Zeldovich <kolya@mit.edu>
Tue, 21 May 2002 07:37:53 +0000 (07:37 +0000)
src/venus/cmdebug.c

index fd5e6af..1db854b 100644 (file)
@@ -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",