SMB_ASSERT(lock_ref_count < INT32_MAX);
DEBUG(10,("lock_ref_count for file %s = %d\n",
- fsp_str_dbg(fsp), (int)lock_ref_count));
+ fsp_str_dbg(fsp), (int)(lock_ref_count + 1)));
}
/****************************************************************************
SMB_ASSERT(lock_ref_count > 0);
DEBUG(10,("lock_ref_count for file %s = %d\n",
- fsp_str_dbg(fsp), (int)lock_ref_count));
+ fsp_str_dbg(fsp), (int)(lock_ref_count - 1)));
}
/****************************************************************************