From 1e1ae9ba077a68b2e8be4e81e52ed4834d485027 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Fri, 8 May 2020 07:43:27 +0200 Subject: [PATCH] acd: fix char buffer argument to _acd_event_to_string_buf() (cherry picked from commit 6e9967939b5b7dd6a49405d4d6018a528414ca4d) --- src/devices/nm-acd-manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/nm-acd-manager.c b/src/devices/nm-acd-manager.c index d9caadc6b6..1c6c42a0ea 100644 --- a/src/devices/nm-acd-manager.c +++ b/src/devices/nm-acd-manager.c @@ -84,7 +84,7 @@ _acd_event_to_string (unsigned int event) #define ACD_EVENT_TO_STRING_BUF_SIZE 50 static const char * -_acd_event_to_string_buf (unsigned event, char buffer[ACD_EVENT_TO_STRING_BUF_SIZE]) +_acd_event_to_string_buf (unsigned event, char buffer[static ACD_EVENT_TO_STRING_BUF_SIZE]) { const char *s;