From e8dbf2889f0f5c6d213e92cbfd97b6a874aedb03 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 19 Jul 2012 16:36:18 -0700 Subject: Move everything to use the common pidfile functions. The extra code in source3/lib/pidfile.c is no longer needed. --- source3/utils/smbcontrol.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3/utils') diff --git a/source3/utils/smbcontrol.c b/source3/utils/smbcontrol.c index dbbd8049de..54c5d62c97 100644 --- a/source3/utils/smbcontrol.c +++ b/source3/utils/smbcontrol.c @@ -32,6 +32,7 @@ #include "libsmb/nmblib.h" #include "messages.h" #include "util_tdb.h" +#include "../lib/util/pidfile.h" #if HAVE_LIBUNWIND_H #include @@ -1365,7 +1366,7 @@ static struct server_id parse_dest(struct messaging_context *msg, /* Look up other destinations in pidfile directory */ - if ((pid = pidfile_pid_s3(dest)) != 0) { + if ((pid = pidfile_pid(lp_piddir(), dest)) != 0) { return pid_to_procid(pid); } -- cgit