fix-cbd-20051213
[openafs.git] / src / viced / callback.c
index 2c5716e..8b25dfc 100644 (file)
@@ -1957,6 +1957,9 @@ PrintCB(register struct CallBack *cb, afs_uint32 now)
     struct FileEntry *fe = itofe(cb->fhead);
     time_t expires = TIndexToTime(cb->thead);
 
+    if (fe == NULL)
+       return;
+
     printf("vol=%u vn=%u cbs=%d hi=%d st=%d fest=%d, exp in %d secs at %s",
           fe->volid, fe->vnode, fe->ncbs, cb->hhead, cb->status, fe->status,
           expires - now, ctime(&expires));