2004-09-13 13:36:25 +02:00
|
|
|
$NetBSD: patch-aw,v 1.2 2004/09/13 11:36:25 marttikuparinen Exp $
|
|
|
|
|
2004-07-28 23:52:26 +02:00
|
|
|
Index: xmalloc.c
|
|
|
|
===================================================================
|
|
|
|
RCS file: /arthur/cvsd/xmalloc.c,v
|
|
|
|
retrieving revision 1.7
|
|
|
|
diff -b -u -w -r1.7 xmalloc.c
|
|
|
|
--- xmalloc.c 10 Aug 2003 20:40:31 -0000 1.7
|
|
|
|
+++ xmalloc.c 8 Jan 2004 05:36:38 -0000
|
|
|
|
@@ -33,7 +33,7 @@
|
|
|
|
void *tmp;
|
|
|
|
if ((tmp=malloc(size))==NULL)
|
|
|
|
{
|
|
|
|
- log_log(LOG_CRIT,"malloc() failed");
|
|
|
|
+ log_log(LOG_CRIT,"malloc(%d) failed", size);
|
|
|
|
exit(1);
|
|
|
|
}
|
|
|
|
return tmp;
|