diff mbox series

[05/41] libmpathutil: fix __attribute typo in log_pthread.c

Message ID 20240808152620.93965-6-mwilck@suse.com (mailing list archive)
State Not Applicable, archived
Delegated to: christophe varoqui
Headers show
Series multipath-tools: comply with C library reserved names | expand

Commit Message

Martin Wilck Aug. 8, 2024, 3:25 p.m. UTC
Signed-off-by: Martin Wilck <mwilck@suse.com>
---
 libmpathutil/log_pthread.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/libmpathutil/log_pthread.c b/libmpathutil/log_pthread.c
index 69b441b..f30eb7e 100644
--- a/libmpathutil/log_pthread.c
+++ b/libmpathutil/log_pthread.c
@@ -60,7 +60,7 @@  static void flush_logqueue (void)
 	} while (empty == 0);
 }
 
-static void cleanup_log_thread(__attribute((unused)) void *arg)
+static void cleanup_log_thread(__attribute__((unused)) void *arg)
 {
 	logdbg(stderr, "log thread exiting");
 	pthread_mutex_lock(&logev_lock);