diff options
author | Gregor Beck <gbeck@sernet.de> | 2013-03-20 10:22:06 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2013-04-18 13:15:13 +0200 |
commit | 0ac0b35dad796d10cf04ab77a53a926420cc0589 (patch) | |
tree | d3ea2c935c7e79ee555e21cd0f1c2a9bf8591cc6 /source3 | |
parent | 3d3e7e837a339dfc1aaf4d7fc52f95f3f6a80173 (diff) | |
download | samba-0ac0b35dad796d10cf04ab77a53a926420cc0589.tar.gz samba-0ac0b35dad796d10cf04ab77a53a926420cc0589.tar.bz2 samba-0ac0b35dad796d10cf04ab77a53a926420cc0589.zip |
s3:locking: improve debug output of parse_share_modes()
Signed-off-by: Gregor Beck <gbeck@sernet.de>
Reviewed-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/locking/share_mode_lock.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/locking/share_mode_lock.c b/source3/locking/share_mode_lock.c index 2d7ca39fc7..56637ed43d 100644 --- a/source3/locking/share_mode_lock.c +++ b/source3/locking/share_mode_lock.c @@ -132,7 +132,8 @@ static struct share_mode_data *parse_share_modes(TALLOC_CTX *mem_ctx, ndr_err = ndr_pull_struct_blob( &blob, d, d, (ndr_pull_flags_fn_t)ndr_pull_share_mode_data); if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) { - DEBUG(1, ("ndr_pull_share_mode_lock failed\n")); + DEBUG(1, ("ndr_pull_share_mode_lock failed: %s\n", + ndr_errstr(ndr_err))); goto fail; } |