aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-05-03 10:40:40 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-05-03 10:40:40 +0000
commit729a57d3a89b30ecaf3210532f798a3107fd3242 (patch)
tree95ea9b7ea1697ab34aa854c10b6059b891422d3d
parentthrd_create(): handle errors correctly (diff)
util: thrd_err_as_string: fix alignment
-rw-r--r--util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.h b/util.h
index 291a68d7..d2059379 100644
--- a/util.h
+++ b/util.h
@@ -10,7 +10,7 @@ static inline const char *
thrd_err_as_string(int thrd_err)
{
switch (thrd_err) {
- case thrd_success: return "success";
+ case thrd_success: return "success";
case thrd_busy: return "busy";
case thrd_nomem: return "no memory";
case thrd_timedout: return "timedout";