summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/pidfile.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/lib/pidfile.c b/source3/lib/pidfile.c
index a9b2da0d7f..fad5691e0a 100644
--- a/source3/lib/pidfile.c
+++ b/source3/lib/pidfile.c
@@ -69,7 +69,10 @@ pid_t pidfile_pid(char *name)
return 0;
}
-/* create a pid file in the lock directory. open it and leave it locked */
+/* Create a pid file in the lock directory. open it and leave it locked.
+ This must be done after a call to lp_load() as it uses the lp_lockdir()
+ function to generate the path to the pidfile. */
+
void pidfile_create(char *name)
{
int fd;