From 76dbe785b532f98362992676d608d74f14f3ab41 Mon Sep 17 00:00:00 2001 From: Joseph Herlant Date: Thu, 15 Nov 2018 12:01:22 -0800 Subject: [PATCH] MINOR: Fix typo in error message in the standard subsystem Fix a typo in an error message that could be user-visible when running out of memory in the parse_binary function. --- src/standard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/standard.c b/src/standard.c index 38e0b6fda..a33ad9bd6 100644 --- a/src/standard.c +++ b/src/standard.c @@ -2186,7 +2186,7 @@ int parse_binary(const char *source, char **binstr, int *binstrlen, char **err) } else { if (*binstrlen < len) { - memprintf(err, "no space avalaible in the buffer. expect %d, provides %d", + memprintf(err, "no space available in the buffer. expect %d, provides %d", len, *binstrlen); return 0; }