diff options
Diffstat (limited to 'src/kash/bltin/printf.c')
-rw-r--r-- | src/kash/bltin/printf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/kash/bltin/printf.c b/src/kash/bltin/printf.c index a50a8ec..4a6a952 100644 --- a/src/kash/bltin/printf.c +++ b/src/kash/bltin/printf.c @@ -54,6 +54,7 @@ __RCSID("$NetBSD: printf.c,v 1.31 2005/03/22 23:55:46 dsl Exp $"); #include <stdlib.h> #include <string.h> #include <unistd.h> +#include "shinstance.h" #ifdef __GNUC__ #define ESCAPE '\e' @@ -646,7 +647,7 @@ check_conversion(const char *s, const char *ep) warnx("%s: not completely converted", s); rval = 1; } else if (errno == ERANGE) { - warnx("%s: %s", s, strerror(ERANGE)); + warnx("%s: %s", s, sh_strerror(psh, ERANGE)); rval = 1; } } |