From 53cb8ce2459e564ec0f96cc49ba4e4c9b356f9aa 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) (cherry picked from commit 1e1ae9ba077a68b2e8be4e81e52ed4834d485027) (cherry picked from commit c0997fa4f351b8b9d65b46aaea09f28d8c0ed9f0) --- 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 cacc37ca65..d7d12e6421 100644 --- a/src/devices/nm-acd-manager.c +++ b/src/devices/nm-acd-manager.c @@ -95,7 +95,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;