From 2922fdaaf0ab2178a1701141cc2435af33c10dc8 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 19 Jul 2012 15:41:52 -0700 Subject: Move source4/smbd/pidfile into lib/util in preparation for making it in common. --- source3/web/startstop.c | 6 +++--- source3/web/statuspage.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'source3/web') diff --git a/source3/web/startstop.c b/source3/web/startstop.c index e23acf8931..ef2871ccd3 100644 --- a/source3/web/startstop.c +++ b/source3/web/startstop.c @@ -86,7 +86,7 @@ void start_winbindd(void) /* stop smbd */ void stop_smbd(void) { - pid_t pid = pidfile_pid("smbd"); + pid_t pid = pidfile_pid_s3("smbd"); if (geteuid() != 0) return; @@ -98,7 +98,7 @@ void stop_smbd(void) /* stop nmbd */ void stop_nmbd(void) { - pid_t pid = pidfile_pid("nmbd"); + pid_t pid = pidfile_pid_s3("nmbd"); if (geteuid() != 0) return; @@ -110,7 +110,7 @@ void stop_nmbd(void) /* stop winbindd */ void stop_winbindd(void) { - pid_t pid = pidfile_pid("winbindd"); + pid_t pid = pidfile_pid_s3("winbindd"); if (geteuid() != 0) return; diff --git a/source3/web/statuspage.c b/source3/web/statuspage.c index 8eac8036d0..d04554901c 100644 --- a/source3/web/statuspage.c +++ b/source3/web/statuspage.c @@ -253,7 +253,7 @@ void status_page(void) TALLOC_CTX *ctx = talloc_stackframe(); const char form_name[] = "status"; - smbd_pid = pid_to_procid(pidfile_pid("smbd")); + smbd_pid = pid_to_procid(pidfile_pid_s3("smbd")); if (!verify_xsrf_token(form_name)) { goto output_page; -- cgit