aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 21da822..3b9ba2b 100644
--- a/src/main.c
+++ b/src/main.c
@@ -72,7 +72,7 @@ main(int argc, char **argv)
/* The number was too large. We asserted that the input
didn’t start with ‘-’ so we can ignore checking for
LONG_MIN. */
- if (n > INT_MAX)
+ if (n > INT_MAX) {
errno = ERANGE;
err(1, "%s", optarg);
}