summaryrefslogtreecommitdiff
path: root/ratox.c
diff options
context:
space:
mode:
authorpranomostro <pranomestro@gmail.com>2016-12-05 13:24:28 +0100
committerpranomostro <pranomestro@gmail.com>2016-12-05 13:24:28 +0100
commitacc559b7139fd6a7720415698fb8fd75c73c9052 (patch)
tree259c0370c2eb238c0bf17e78140cf7e52571f0a2 /ratox.c
parent704194ad52038665b64ecf6ff0e1693eff62907c (diff)
Fix typo in error message, update nodes.h
Diffstat (limited to 'ratox.c')
-rw-r--r--ratox.c2
1 files changed, 1 insertions, 1 deletions
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;