aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2024-08-16 04:03:36 +0200
committerMarkus Uhlin <markus@nifty-networks.net>2024-08-16 04:03:36 +0200
commit834de916a71082e4f0951eb10e86ea0030528ade (patch)
tree8d7ee2d44cc6cfa746d197593c4581e1c908d5a6
parent51ad69d30d9bfbd1afb86b369a3df4734f97ab7c (diff)
Changed messages
-rw-r--r--FICS/utils.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/FICS/utils.c b/FICS/utils.c
index 0784711..b7072c6 100644
--- a/FICS/utils.c
+++ b/FICS/utils.c
@@ -707,9 +707,9 @@ fix_time(char *old_time)
char month[5] = { '\0' };
static char new_time[20];
- _Static_assert(4 < ARRAY_SIZE(day), "Array too small");
- _Static_assert(4 < ARRAY_SIZE(month), "Array too small");
- _Static_assert(4 < ARRAY_SIZE(date), "Array too small");
+ _Static_assert(4 < ARRAY_SIZE(day), "'day' too small");
+ _Static_assert(4 < ARRAY_SIZE(month), "'month' too small");
+ _Static_assert(4 < ARRAY_SIZE(date), "'date' too small");
if (sscanf(old_time, "%4s %4s %4s", day, month, date) != 3)
warnx("%s: sscanf: too few items (%s)", __func__, old_time);