Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
}
}
if (i == num_locks) {
- DEBUG(10, ("g_lock_force_unlock: Lock not found\n"));
+ DBG_DEBUG("Lock not found, num_locks=%u\n", num_locks);
status = NT_STATUS_NOT_FOUND;
goto done;
}
status = dbwrap_record_store(rec, data, 0);
}
if (!NT_STATUS_IS_OK(status)) {
- DEBUG(1, ("g_lock_force_unlock: Could not store record: %s\n",
- nt_errstr(status)));
+ DBG_WARNING("Could not store record: %s\n", nt_errstr(status));
goto done;
}