diff src/buffer.c @ 31612:2050f93e8cef

(alloc_buffer_text): Fix xmalloc call.
author Dave Love <fx@gnu.org>
date Thu, 14 Sep 2000 19:39:11 +0000
parents 91e7cea32eaa
children ca37d343042c
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)