summaryrefslogtreecommitdiff
path: root/mdmon.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2010-02-04 16:31:49 +1100
committerNeilBrown <neilb@suse.de>2010-02-04 16:47:28 +1100
commit5d4d1b26d3da8b489ed7e2f5a38f7d90b7f4008f (patch)
tree86261d4f1521d7953bdbde959fd96bd0fb744d9c /mdmon.h
parent24f6f99b3630b1a89aaa57930c5c9de8a3df9ded (diff)
mdmon: allow pid to be stored in different directory.
/var/run probably doesn't persist from early boot. So if necessary, store in in /lib/init/rw or somewhere else that does persist. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'mdmon.h')
-rw-r--r--mdmon.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdmon.h b/mdmon.h
index 44940853..a03686f1 100644
--- a/mdmon.h
+++ b/mdmon.h
@@ -66,7 +66,7 @@ void remove_pidfile(char *devname);
void do_monitor(struct supertype *container);
void do_manager(struct supertype *container);
int make_control_sock(char *devname);
-int make_pidfile(char *devname, int o_excl);
+int make_pidfile(char *devname);
extern int socket_hup_requested;
extern int sigterm;