diff options
author | roberto <roberto@FreeBSD.org> | 2001-08-29 14:35:15 +0000 |
---|---|---|
committer | roberto <roberto@FreeBSD.org> | 2001-08-29 14:35:15 +0000 |
commit | edc758be4634e1860f1e2d6bfafe352d642aedcf (patch) | |
tree | 7b80dadefdac0027f909556f732fb2b2f04218a2 /contrib/ntp/libntp/emalloc.c | |
parent | 5987cca2b86151d430e62288a0608ec25c84c045 (diff) | |
parent | 40b8e415eb0f835a9dd7a473ddf134ec67877fd7 (diff) | |
download | FreeBSD-src-edc758be4634e1860f1e2d6bfafe352d642aedcf.zip FreeBSD-src-edc758be4634e1860f1e2d6bfafe352d642aedcf.tar.gz |
This commit was generated by cvs2svn to compensate for changes in r82498,
which included commits to RCS files with non-trunk default branches.
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; |