diff options
author | Volker Lendecke <vl@samba.org> | 2019-09-03 16:40:00 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2019-09-10 23:14:31 +0000 |
commit | a9d09d4bddb2a66e146f8e157fda4d7dd160a8a4 (patch) | |
tree | ea108135bc297c0e872bbfa3764043d7f101780b /source3/locking | |
parent | 2448060072e9f82fc6b0d48109d70e4e491650ca (diff) | |
download | samba-a9d09d4bddb2a66e146f8e157fda4d7dd160a8a4.tar.gz |
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 <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/locking')
-rw-r--r-- | source3/locking/locking.c | 7 |
1 files changed, 3 insertions, 4 deletions
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; i<d->num_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; } |