diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2001-02-07 16:46:09 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2001-02-07 16:46:09 +0000 |
commit | e7559391d619dd0614176fb1ee0aba349a7a6726 (patch) | |
tree | bd72554b220afcf5ff3130ab122eab74ec092f77 /usr.bin | |
parent | 680e18fe9965e3a6d1e50c3791028bae10e2ebad (diff) |
typo in fatal()
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/ssh/xmalloc.c | 6 |
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; |