aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2022-10-15 12:49:19 +0200
committerThomas Voss <mail@thomasvoss.com> 2022-10-15 12:49:19 +0200
commitaac6638d63d207bcc1721695558d26b2ea9ef935 (patch)
treed573cc18786f040ee8a2976f142812d2d6c28231
parent73c0ebd0f1ca9d5b2f390de708287ef9c3b122f8 (diff)
Fix diagnostic message during overflow
-rw-r--r--center.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/center.c b/center.c
index 745af61..ca14700 100644
--- a/center.c
+++ b/center.c
@@ -315,5 +315,5 @@ polong(long *n, const char *s)
if (*n < 0)
diex("%s must be >= 0", s);
if (errno == ERANGE || *n > INT_MAX) \
- warnx("potential overflow of given tab size");
+ warnx("potential overflow of given %s", s);
}