aboutsummaryrefslogtreecommitdiff
path: root/libbb/parse_number.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/parse_number.c')
-rw-r--r--libbb/parse_number.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/parse_number.c b/libbb/parse_number.c
index 92ad6a216..5262239ff 100644
--- a/libbb/parse_number.c
+++ b/libbb/parse_number.c
@@ -34,7 +34,7 @@ unsigned long bb_xparse_number(const char *numstr,
34 unsigned long int r; 34 unsigned long int r;
35 char *e; 35 char *e;
36 int old_errno; 36 int old_errno;
37 37
38 /* Since this is a lib function, we're not allowed to reset errno to 0. 38 /* Since this is a lib function, we're not allowed to reset errno to 0.
39 * Doing so could break an app that is deferring checking of errno. 39 * Doing so could break an app that is deferring checking of errno.
40 * So, save the old value so that we can restore it if successful. */ 40 * So, save the old value so that we can restore it if successful. */