summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2001-02-07 16:46:09 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2001-02-07 16:46:09 +0000
commite7559391d619dd0614176fb1ee0aba349a7a6726 (patch)
treebd72554b220afcf5ff3130ab122eab74ec092f77
parent680e18fe9965e3a6d1e50c3791028bae10e2ebad (diff)
typo in fatal()
-rw-r--r--usr.bin/ssh/xmalloc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ssh/xmalloc.c b/usr.bin/ssh/xmalloc.c
index 20ccb4dc559..a90f0d133d8 100644
--- a/usr.bin/ssh/xmalloc.c
+++ b/usr.bin/ssh/xmalloc.c
@@ -13,7 +13,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: xmalloc.c,v 1.12 2001/02/07 08:57:26 deraadt Exp $");
+RCSID("$OpenBSD: xmalloc.c,v 1.13 2001/02/07 16:46:08 markus Exp $");
#include "xmalloc.h"
#include "log.h"
@@ -37,7 +37,7 @@ xrealloc(void *ptr, size_t new_size)
void *new_ptr;
if (new_size == 0)
- fatal("xmalloc: zero size");
+ fatal("xrealloc: zero size");
if (ptr == NULL)
fatal("xrealloc: NULL pointer given as argument");
new_ptr = realloc(ptr, new_size);
@@ -61,7 +61,7 @@ xstrdup(const char *str)
char *cp;
if (len == 0)
- fatal("xmalloc: zero size");
+ fatal("xstrdup: zero size");
cp = xmalloc(len);
strlcpy(cp, str, len);
return cp;