summaryrefslogtreecommitdiffstats
path: root/contrib/ntp/libntp/emalloc.c
diff options
context:
space:
mode:
authorroberto <roberto@FreeBSD.org>2001-08-29 14:35:15 +0000
committerroberto <roberto@FreeBSD.org>2001-08-29 14:35:15 +0000
commit40b8e415eb0f835a9dd7a473ddf134ec67877fd7 (patch)
tree3cfb63f1a112ee17469b17fc1593a88d004ddda6 /contrib/ntp/libntp/emalloc.c
parenta5a8dc6136fcee95f261a31609a25669038c3861 (diff)
downloadFreeBSD-src-40b8e415eb0f835a9dd7a473ddf134ec67877fd7.zip
FreeBSD-src-40b8e415eb0f835a9dd7a473ddf134ec67877fd7.tar.gz
Virgin import of ntpd 4.1.0
Diffstat (limited to 'contrib/ntp/libntp/emalloc.c')
-rw-r--r--contrib/ntp/libntp/emalloc.c6
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;
OpenPOWER on IntegriCloud