aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas Voss <thomas.voss@humanwave.nl> 2024-08-26 11:05:58 +0200
committerThomas Voss <thomas.voss@humanwave.nl> 2024-08-26 11:05:58 +0200
commit7f2660e2c061cac8bd375eab425a66445c7acda7 (patch)
tree64cf2724b8c59440d28ef9b34dd169077336703e /src
parentc2d55d3ce75ec1eb20e95c8ddf6ecb8a411831c9 (diff)
Add missing brace
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);
}