From: Volker Lendecke Date: Tue, 3 Sep 2019 14:40:00 +0000 (+0200) Subject: smbd: Fix DBG typo in find_delete_on_close_token() X-Git-Tag: talloc-2.3.1~917 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a9d09d4bddb2a66e146f8e157fda4d7dd160a8a4;p=thirdparty%2Fsamba.git smbd: Fix DBG typo in find_delete_on_close_token() The routine isn't called find__delete_on_close_token. Also avoid casts. Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/source3/locking/locking.c b/source3/locking/locking.c index 5026cdbe58d..72235113fbb 100644 --- a/source3/locking/locking.c +++ b/source3/locking/locking.c @@ -1124,14 +1124,13 @@ static struct delete_token *find_delete_on_close_token( { uint32_t i; - DEBUG(10, ("find_delete_on_close_token: name_hash = 0x%x\n", - (unsigned int)name_hash)); + DBG_DEBUG("name_hash = 0x%"PRIx32"\n", name_hash); for (i=0; inum_delete_tokens; i++) { struct delete_token *dt = &d->delete_tokens[i]; - DEBUG(10, ("find__delete_on_close_token: dt->name_hash = 0x%x\n", - (unsigned int)dt->name_hash )); + DBG_DEBUG("dt->name_hash = 0x%"PRIx32"\n", + dt->name_hash); if (dt->name_hash == name_hash) { return dt; }