diff options
Diffstat (limited to 'contrib/ntp/libntp/emalloc.c')
-rw-r--r-- | contrib/ntp/libntp/emalloc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/ntp/libntp/emalloc.c b/contrib/ntp/libntp/emalloc.c index 0918c9c..2fe4c38 100644 --- a/contrib/ntp/libntp/emalloc.c +++ b/contrib/ntp/libntp/emalloc.c @@ -3,8 +3,8 @@ */ #include "ntp_types.h" #include "ntp_malloc.h" -#include "ntp_stdlib.h" #include "ntp_syslog.h" +#include "ntp_stdlib.h" #if defined SYS_WINNT && defined DEBUG #include <crtdbg.h> @@ -22,7 +22,7 @@ debug_emalloc( char *mem; if ((mem = (char *)_malloc_dbg(size, _NORMAL_BLOCK, filename, line)) == 0) { - msyslog(LOG_ERR, "No more memory!"); + msyslog(LOG_ERR, "Exiting: No more memory!"); exit(1); } return mem; @@ -38,7 +38,7 @@ emalloc( char *mem; if ((mem = (char *)malloc(size)) == 0) { - msyslog(LOG_ERR, "No more memory!"); + msyslog(LOG_ERR, "Exiting: No more memory!"); exit(1); } return mem; |