diff options
Diffstat (limited to 'src/ivybuffer.c')
-rw-r--r-- | src/ivybuffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ivybuffer.c b/src/ivybuffer.c index 05b4ed1..0d85d98 100644 --- a/src/ivybuffer.c +++ b/src/ivybuffer.c @@ -40,7 +40,7 @@ int make_message(IvyBuffer* buffer, const char *fmt, va_list ap) if ( buffer->data == NULL ) { perror(" Ivy make message MALLOC error: " ); - return -1; + return -1; } } while (1) { @@ -63,7 +63,7 @@ int make_message(IvyBuffer* buffer, const char *fmt, va_list ap) buffer->size *= 2; /* twice the old size */ if ((buffer->data = realloc (buffer->data, buffer->size)) == NULL) { - perror(" Ivy make message MALLOC error: " ); + perror(" Ivy make message REALLOC error: " ); return -1; } } |