summaryrefslogtreecommitdiff
path: root/ctdb/server/ctdb_daemon.c
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2017-07-31 15:16:45 +1000
committerMartin Schwenke <martins@samba.org>2017-08-02 03:39:11 +0200
commit59ebb29e6a597586338c610b22927e5bd8a7628c (patch)
tree0af506d54273c79adca9cffdc10d563ff77c08ea /ctdb/server/ctdb_daemon.c
parent4dbfc16bdd6253f887fd34bef8db5464c363e0e8 (diff)
downloadsamba-59ebb29e6a597586338c610b22927e5bd8a7628c.tar.gz
ctdb-common: Rename pidfile_create() -> pidfile_context_create()
Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'ctdb/server/ctdb_daemon.c')
-rw-r--r--ctdb/server/ctdb_daemon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ctdb/server/ctdb_daemon.c b/ctdb/server/ctdb_daemon.c
index b5cee615e91..1030406d7bb 100644
--- a/ctdb/server/ctdb_daemon.c
+++ b/ctdb/server/ctdb_daemon.c
@@ -1158,8 +1158,8 @@ static void ctdb_remove_pidfile(void)
static void ctdb_create_pidfile(TALLOC_CTX *mem_ctx)
{
if (ctdbd_pidfile != NULL) {
- int ret = pidfile_create(mem_ctx, ctdbd_pidfile,
- &ctdbd_pidfile_ctx);
+ int ret = pidfile_context_create(mem_ctx, ctdbd_pidfile,
+ &ctdbd_pidfile_ctx);
if (ret != 0) {
DEBUG(DEBUG_ERR,
("Failed to create PID file %s\n",