From: Timur I. Bakeyev Date: Sun, 13 May 2018 04:18:21 +0000 (+0800) Subject: Convert affected by previous commit lines from DEBUG(10,..) to DBG_DEBUG(). X-Git-Tag: ldb-1.4.0~203 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=010cddae6c46d6ece67b80d4f6697a793f9b5350;p=thirdparty%2Fsamba.git Convert affected by previous commit lines from DEBUG(10,..) to DBG_DEBUG(). Signed-off-by: Timur I. Bakeyev Reviewed-by: Ralph Boehme Reviewed-by: Martin Schwenke Autobuild-User(master): Ralph Böhme Autobuild-Date(master): Wed May 16 21:29:24 CEST 2018 on sn-devel-144 --- diff --git a/lib/dbwrap/dbwrap_tdb.c b/lib/dbwrap/dbwrap_tdb.c index 28e09d31963..f59764535a2 100644 --- a/lib/dbwrap/dbwrap_tdb.c +++ b/lib/dbwrap/dbwrap_tdb.c @@ -58,7 +58,7 @@ static void db_tdb_log_key(const char *prefix, TDB_DATA key) } keystr = hex_encode_talloc(frame, (unsigned char *)(key.dptr), len); - DEBUG(10, ("%s key %s\n", prefix, keystr)); + DBG_DEBUG("%s key %s\n", prefix, keystr); TALLOC_FREE(frame); } @@ -142,7 +142,7 @@ static struct db_record *db_tdb_fetch_locked_internal( state.result->storev = db_tdb_storev; state.result->delete_rec = db_tdb_delete; - DEBUG(10, ("Allocated locked data %p\n", state.result)); + DBG_DEBUG("Allocated locked data %p\n", state.result); return state.result; } diff --git a/source3/smbd/open.c b/source3/smbd/open.c index 3adea77902f..61a42e29a10 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -5047,7 +5047,7 @@ static NTSTATUS create_file_unixpath(connection_struct *conn, files_struct *fsp = NULL; NTSTATUS status; - DEBUG(10,("create_file_unixpath: access_mask = 0x%x " + DBG_DEBUG("create_file_unixpath: access_mask = 0x%x " "file_attributes = 0x%x, share_access = 0x%x, " "create_disposition = 0x%x create_options = 0x%x " "oplock_request = 0x%x private_flags = 0x%x " @@ -5060,7 +5060,7 @@ static NTSTATUS create_file_unixpath(connection_struct *conn, (unsigned int)create_options, (unsigned int)oplock_request, (unsigned int)private_flags, - ea_list, sd, smb_fname_str_dbg(smb_fname))); + ea_list, sd, smb_fname_str_dbg(smb_fname)); if (create_options & FILE_OPEN_BY_FILE_ID) { status = NT_STATUS_NOT_SUPPORTED; @@ -5589,7 +5589,7 @@ NTSTATUS create_file_default(connection_struct *conn, NTSTATUS status; bool stream_name = false; - DEBUG(10,("create_file: access_mask = 0x%x " + DBG_DEBUG("create_file: access_mask = 0x%x " "file_attributes = 0x%x, share_access = 0x%x, " "create_disposition = 0x%x create_options = 0x%x " "oplock_request = 0x%x " @@ -5604,7 +5604,7 @@ NTSTATUS create_file_default(connection_struct *conn, (unsigned int)oplock_request, (unsigned int)private_flags, (unsigned int)root_dir_fid, - ea_list, sd, smb_fname_str_dbg(smb_fname))); + ea_list, sd, smb_fname_str_dbg(smb_fname)); /* * Calculate the filename from the root_dir_if if necessary.