summaryrefslogtreecommitdiff
path: root/ratox.c
diff options
context:
space:
mode:
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;