summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2017-06-08 12:51:19 +0200
committerJeremy Allison <jra@samba.org>2017-06-24 01:21:10 +0200
commit5757d9bf75a5f3ade82c00c98e01c5a8e38aaa28 (patch)
tree04f349b8d7158bdf0e4d56b33b36b9c1b581ba87 /source3
parent06cdf8d7c4402b52aa27631a5556dde0b22d9487 (diff)
downloadsamba-5757d9bf75a5f3ade82c00c98e01c5a8e38aaa28.tar.gz
net: Dump data for net_g_lock dump
4d404f2 added user-data for a g_lock. Print it in net g_lock dump. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/net_g_lock.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/utils/net_g_lock.c b/source3/utils/net_g_lock.c
index 7543fd8ed01..0ec6846d10b 100644
--- a/source3/utils/net_g_lock.c
+++ b/source3/utils/net_g_lock.c
@@ -123,6 +123,7 @@ static void net_g_lock_dump_fn(const struct g_lock_rec *locks,
d_printf("%s: %s\n", server_id_str_buf(l->pid, &idbuf),
(l->lock_type & 1) ? "WRITE" : "READ");
}
+ dump_data_file(data, datalen, true, stdout);
}
static int net_g_lock_dump(struct net_context *c, int argc, const char **argv)