diff options
author | mnc <mnc@d7303112-9cec-0310-bdd2-e83a94d6c2b6> | 2006-02-07 00:50:45 +0000 |
---|---|---|
committer | mnc <mnc@d7303112-9cec-0310-bdd2-e83a94d6c2b6> | 2006-02-07 00:50:45 +0000 |
commit | 9a2377a26b1663405c616d3f86eb6d47fcc76da1 (patch) | |
tree | 77f1a0741801590efa5aa1b12bbd8d2374286e12 /usr/log.c | |
parent | 22ee2b04dddb4c0e57c3dc0581f483b183982a36 (diff) | |
download | open-iscsi-9a2377a26b1663405c616d3f86eb6d47fcc76da1.tar.gz |
From DanA and TomoF - fix logging daemon code
git-svn-id: svn://svn.berlios.de/open-iscsi@486 d7303112-9cec-0310-bdd2-e83a94d6c2b6
Diffstat (limited to 'usr/log.c')
-rw-r--r-- | usr/log.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -16,6 +16,7 @@ #include <sys/ipc.h> #include <sys/types.h> +#include "util.h" #include "log.h" #define SEMKEY 0xA7L @@ -380,6 +381,8 @@ int log_init(char *program_name, int size) return 0; } + daemon_init(); + /* flush on daemon's crash */ sa_new.sa_handler = (void*)log_flush; sigemptyset(&sa_new.sa_mask); |