changeset 31612:2050f93e8cef

(alloc_buffer_text): Fix xmalloc call.
author Dave Love <fx@gnu.org>
date Thu, 14 Sep 2000 19:39:11 +0000
parents cc9735883a82
children b8cbad226f35
files src/buffer.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/buffer.c	Thu Sep 14 19:17:36 2000 +0000
+++ b/src/buffer.c	Thu Sep 14 19:39:11 2000 +0000
@@ -4526,7 +4526,7 @@
 #elif defined REL_ALLOC
   p = r_alloc ((POINTER_TYPE **) &b->text->beg, nbytes);
 #else
-  p = xmalloc (b->text->beg, nbytes);
+  p = xmalloc (nbytes);
 #endif
   
   if (p == NULL)