diff options
Diffstat (limited to 'usr.bin/find/function.c')
| -rw-r--r-- | usr.bin/find/function.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/find/function.c b/usr.bin/find/function.c index ffa2e437ebe..61a0e55713a 100644 --- a/usr.bin/find/function.c +++ b/usr.bin/find/function.c @@ -1,4 +1,4 @@ -/* $NetBSD: function.c,v 1.78 2021/03/18 18:21:18 cheusov Exp $ */ +/* $NetBSD: function.c,v 1.79 2021/03/18 18:24:14 cheusov Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "from: @(#)function.c 8.10 (Berkeley) 5/4/95"; #else -__RCSID("$NetBSD: function.c,v 1.78 2021/03/18 18:21:18 cheusov Exp $"); +__RCSID("$NetBSD: function.c,v 1.79 2021/03/18 18:24:14 cheusov Exp $"); #endif #endif /* not lint */ @@ -181,7 +181,7 @@ find_parsenum(PLAN *plan, const char *option, const char *vp, char *endch) * and endchar points to the beginning of the string we know we have * a syntax error. */ - value = strtoq(str, &endchar, 10); + value = strtoll(str, &endchar, 10); if (value == 0 && endchar == str) errx(1, "%s: %s: illegal numeric value", option, vp); if (endchar[0] && (endch == NULL || endchar[0] != *endch)) |
