X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Ftincd.c;h=a8ea62c682354d510fd5ec08706cadb2cb88de9d;hp=433b5e64d710bc8e597022de1660aeb8059bd578;hb=baebae274913d912d76ba1d545f337dfb945fc5c;hpb=210a92cae90deb5b4a410b1b7d5c625c5c5f2ffb diff --git a/src/tincd.c b/src/tincd.c index 433b5e64..a8ea62c6 100644 --- a/src/tincd.c +++ b/src/tincd.c @@ -19,6 +19,9 @@ /* * $Log: tincd.c,v $ + * Revision 1.5 2000/04/17 16:23:29 zarq + * Pass the requested size from xmalloc() and xrealloc() on to xalloc_fail_func() + * * Revision 1.4 2000/04/06 18:28:29 zarq * New option -D, don't detach. * @@ -156,9 +159,9 @@ parse_options(int argc, char **argv, char **envp) } } -void memory_full(void) +void memory_full(int size) { - syslog(LOG_ERR, "Memory exhausted; exiting."); + syslog(LOG_ERR, "Memory exhausted (last is %s:%d) (couldn't allocate %d bytes); exiting.", cp_file, cp_line, size); exit(1); }