X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fprocess.c;h=3e3cd93da9fa9839e6382078580a2a889aebf995;hp=1f0a012fd6c8f3b9aca96b3fbf0be732dc91123d;hb=e26dd564163fca001ab1694a51e7412f9ac970de;hpb=72cd8938e2c759905666ea7d2c90dc1f0b2e2cd5 diff --git a/src/process.c b/src/process.c index 1f0a012f..3e3cd93d 100644 --- a/src/process.c +++ b/src/process.c @@ -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.3 2002/04/13 10:25:38 zarq Exp $ + $Id: process.c,v 1.4 2002/04/13 11:07:12 zarq Exp $ */ #include "config.h" @@ -27,11 +27,11 @@ #include #include #include -#include #include #include #include #include +#include #include #include #include @@ -46,6 +46,7 @@ #include "device.h" #include "connection.h" #include "device.h" +#include "logging.h" #include "system.h" @@ -66,7 +67,9 @@ extern int do_purge; void memory_full(int size) { - syslog(LOG_ERR, _("Memory exhausted (couldn't allocate %d bytes), exitting."), size); + log(0, TLOG_ERROR, + _("Memory exhausted (couldn't allocate %d bytes), exitting."), + size); cp_trace(); exit(1); }