diff options
author | Jeremy Allison <jra@samba.org> | 2012-07-19 15:41:52 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2012-07-19 15:41:52 -0700 |
commit | 2922fdaaf0ab2178a1701141cc2435af33c10dc8 (patch) | |
tree | 1b1a3c9dd8eb6151f4c9c640543ca5e4dbebdfdc /source3/web | |
parent | 03a6137001c418c254505ddab694e1aefc73985d (diff) | |
download | samba-2922fdaaf0ab2178a1701141cc2435af33c10dc8.tar.gz |
Move source4/smbd/pidfile into lib/util in preparation for making it in common.
Diffstat (limited to 'source3/web')
-rw-r--r-- | source3/web/startstop.c | 6 | ||||
-rw-r--r-- | source3/web/statuspage.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source3/web/startstop.c b/source3/web/startstop.c index e23acf89313..ef2871ccd3a 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 8eac8036d02..d04554901c5 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; |