summaryrefslogblamecommitdiff
path: root/user/elogind/fix-strerror.patch
blob: a685651b9996fe6d96c7f5945f2d77f9372ed5cf (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                                                           
Causes build errors with the semicolon.

--- elogind-252.9/src/basic/musl_missing.h.old	2023-11-27 05:10:27.761821031 -0600
+++ elogind-252.9/src/basic/musl_missing.h	2023-11-27 05:10:51.839218582 -0600
@@ -26,7 +26,7 @@
 #include <unistd.h>
 #include <pthread.h> /* for pthread_atfork */
 
-#define strerror_r(e, m, k) (strerror_r(e, m, k) < 0 ? strdup("strerror_r() failed") : m);
+#define strerror_r(e, m, k) (strerror_r(e, m, k) < 0 ? strdup("strerror_r() failed") : m)
 
 /*
  * Possibly TODO according to http://man7.org/linux/man-pages/man3/getenv.3.html