diff --git a/src/viced/afsfileprocs.c b/src/viced/afsfileprocs.c index 69aff57c8d..7702c6a47f 100644 --- a/src/viced/afsfileprocs.c +++ b/src/viced/afsfileprocs.c @@ -244,7 +244,7 @@ SetVolumeSync(struct AFSVolSync *async, Volume * avol) FS_LOCK; /* date volume instance was created */ if (async) { - if (avol) + if (avol && avol->header) async->spare1 = avol->header->diskstuff.creationDate; else async->spare1 = 0;