summaryrefslogtreecommitdiff
path: root/lib/thread.c
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2021-05-03 11:17:36 -0400
committerGitHub <noreply@github.com>2021-05-03 11:17:36 -0400
commitf71e1ff6a98d0e244c7da11d870d14e31b517811 (patch)
tree0657d1718fa1018c0e8aa3bea76266f9dd6677ad /lib/thread.c
parent92046e65409fe0ba2935e886cfb778253d5d8d4e (diff)
parent4f1a6d98da0703b066a1ae92dcac7c8f6ae3b1e6 (diff)
Merge pull request #8545 from opensourcerouting/assert-our-own
*: make our own assert() actually work
Diffstat (limited to 'lib/thread.c')
-rw-r--r--lib/thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/thread.c b/lib/thread.c
index 7b5d2f3113..3af89fad5a 100644
--- a/lib/thread.c
+++ b/lib/thread.c
@@ -664,7 +664,7 @@ static int time_hhmmss(char *buf, int buf_size, long sec)
long mm;
int wr;
- zassert(buf_size >= 8);
+ assert(buf_size >= 8);
hh = sec / 3600;
sec %= 3600;