Use functions from logger.c
[oweals/tinc.git] / src / process.c
index b0e1e63f4c6227050d6fe2eb52c10cb2837abd13..9a918158f336beb989d474157078be7c32c6ac64 100644 (file)
@@ -17,7 +17,7 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
-    $Id: process.c,v 1.1.2.55 2003/07/17 15:06:26 guus Exp $
+    $Id: process.c,v 1.1.2.56 2003/07/21 14:47:43 guus Exp $
 */
 
 #include "system.h"
@@ -86,7 +86,7 @@ void cleanup_and_exit(int c)
 
        logger(LOG_NOTICE, _("Terminating"));
 
-       closelog();
+       closelogger();
        exit(c);
 }
 
@@ -170,7 +170,7 @@ int detach(void)
 
        /* If we succeeded in doing that, detach */
 
-       closelog();
+       closelogger();
 
        if(do_detach) {
                if(daemon(0, 0) < 0) {