projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gpio-button-hotplug: fix data race
[openwrt/openwrt.git]
/
package
/
kernel
/
gpio-button-hotplug
/
src
/
gpio-button-hotplug.c
diff --git
a/package/kernel/gpio-button-hotplug/src/gpio-button-hotplug.c
b/package/kernel/gpio-button-hotplug/src/gpio-button-hotplug.c
index fcaf7f59de5c0e855ea8567867d8b520560a2ba7..2b39ec8f3be52e4c27986cf51844287829e032bd 100644
(file)
--- a/
package/kernel/gpio-button-hotplug/src/gpio-button-hotplug.c
+++ b/
package/kernel/gpio-button-hotplug/src/gpio-button-hotplug.c
@@
-107,7
+107,7
@@
static struct bh_map button_map[] = {
static __printf(3, 4)
int bh_event_add_var(struct bh_event *event, int argv, const char *format, ...)
{
-
static
char buf[128];
+ char buf[128];
char *s;
va_list args;
int len;