diff --git a/os/log.c b/os/log.c index b091043a0b..269fb93e50 100644 --- a/os/log.c +++ b/os/log.c @@ -218,7 +218,7 @@ static inline void doLogSync(void) { static void initSyslog(void) { #ifdef CONFIG_SYSLOG - char buffer[4096]; + static char buffer[4096]; strcpy(buffer, xorgSyslogIdent); snprintf(buffer, sizeof(buffer), "%s :%s", xorgSyslogIdent, (display ? display : "<>"));