down with assert, up with osi_Assert
[openafs.git] / src / vol / vg_scan.c
index df87591..7521878 100644 (file)
@@ -431,7 +431,7 @@ _VVGC_scan_start(struct DiskPartition64 * dp)
        ViceLog(0, ("_VVGC_scan_start: pthread_create failed with %d\n", code));
 
        old_state = _VVGC_state_change(dp, VVGC_PART_STATE_INVALID);
-       assert(old_state == VVGC_PART_STATE_UPDATING);
+       osi_Assert(old_state == VVGC_PART_STATE_UPDATING);
     }
 
  error: