aboutsummaryrefslogtreecommitdiff
path: root/libbb/bb_strtonum.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/bb_strtonum.c')
-rw-r--r--libbb/bb_strtonum.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libbb/bb_strtonum.c b/libbb/bb_strtonum.c
index 6fbd1f87d..50ef0ba26 100644
--- a/libbb/bb_strtonum.c
+++ b/libbb/bb_strtonum.c
@@ -17,6 +17,7 @@
* errno = ERANGE if value had alphanumeric terminating char ("1234abcg").
* errno = ERANGE if value is out of range, missing, etc.
* errno = ERANGE if value had minus sign for strtouXX (even "-0" is not ok )
+ * return value is all-ones in this case.
*/
static unsigned long long ret_ERANGE(void)