summaryrefslogtreecommitdiff
path: root/source3/utils/net_g_lock.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-06-08 14:05:55 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-06-09 12:40:09 +0200
commit16b1c77644217796f70a3a0bf1d95c245f9ee2d9 (patch)
treeb08d316880e1a03d1a7fad4c5ced8d141878986c /source3/utils/net_g_lock.c
parentd01dbd6c3fd9ca2595d65991b56db4400a35ece0 (diff)
downloadsamba-16b1c77644217796f70a3a0bf1d95c245f9ee2d9.tar.gz
samba-16b1c77644217796f70a3a0bf1d95c245f9ee2d9.tar.bz2
samba-16b1c77644217796f70a3a0bf1d95c245f9ee2d9.zip
lib/util Bring procid_str() into lib/util as server_id_string()
This is needed for OpenChange, which prints Samba struct server_id values in debug messages. Andrew Bartlett
Diffstat (limited to 'source3/utils/net_g_lock.c')
-rw-r--r--source3/utils/net_g_lock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_g_lock.c b/source3/utils/net_g_lock.c
index 6ed5d1776a..bfb9a225ab 100644
--- a/source3/utils/net_g_lock.c
+++ b/source3/utils/net_g_lock.c
@@ -113,7 +113,7 @@ static int net_g_lock_dump_fn(struct server_id pid, enum g_lock_type lock_type,
{
char *pidstr;
- pidstr = procid_str(talloc_tos(), &pid);
+ pidstr = server_id_str(talloc_tos(), &pid);
d_printf("%s: %s (%s)\n", pidstr,
(lock_type & 1) ? "WRITE" : "READ",
(lock_type & G_LOCK_PENDING) ? "pending" : "holder");