From acc559b7139fd6a7720415698fb8fd75c73c9052 Mon Sep 17 00:00:00 2001 From: pranomostro Date: Mon, 5 Dec 2016 13:24:28 +0100 Subject: Fix typo in error message, update nodes.h --- ratox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ratox.c') diff --git a/ratox.c b/ratox.c index 9e129c7..a81d690 100644 --- a/ratox.c +++ b/ratox.c @@ -926,7 +926,7 @@ readpass(const char *prompt, uint8_t **target, uint32_t *len) return -1; *target = realloc(*target, strlen(p)); /* not null-terminated */ if (!*target) - eprintf("malloc:"); + eprintf("realloc:"); memcpy(*target, p, strlen(p)); *len = strlen(p); return 0; -- cgit v1.2.3