diff options
author | Jeremy Allison <jra@samba.org> | 2012-07-19 16:36:18 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2012-07-19 16:36:18 -0700 |
commit | e8dbf2889f0f5c6d213e92cbfd97b6a874aedb03 (patch) | |
tree | 21f7c585011d551de323c74faac8f545d7f90857 /source3/libsmb/clidgram.c | |
parent | f58d8feabc4b2c75681af1effeb4fb062cee74bd (diff) | |
download | samba-e8dbf2889f0f5c6d213e92cbfd97b6a874aedb03.tar.gz |
Move everything to use the common pidfile functions.
The extra code in source3/lib/pidfile.c is no longer needed.
Diffstat (limited to 'source3/libsmb/clidgram.c')
-rw-r--r-- | source3/libsmb/clidgram.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/libsmb/clidgram.c b/source3/libsmb/clidgram.c index d9de99eb043..6e3ecb38658 100644 --- a/source3/libsmb/clidgram.c +++ b/source3/libsmb/clidgram.c @@ -26,6 +26,7 @@ #include "libsmb/nmblib.h" #include "messages.h" #include "librpc/gen_ndr/samr.h" +#include "../lib/util/pidfile.h" /* * cli_send_mailslot, send a mailslot for client code ... @@ -327,7 +328,7 @@ struct tevent_req *nbt_getdc_send(TALLOC_CTX *mem_ctx, if (tevent_req_nomem(state->my_mailslot, req)) { return tevent_req_post(req, ev); } - state->nmbd_pid = pidfile_pid_s3("nmbd"); + state->nmbd_pid = pidfile_pid(lp_piddir(), "nmbd"); if (state->nmbd_pid == 0) { DEBUG(3, ("No nmbd found\n")); tevent_req_nterror(req, NT_STATUS_NOT_SUPPORTED); |