diff options
| author | Felix Fietkau | 2021-11-08 21:12:05 +0000 |
|---|---|---|
| committer | Felix Fietkau | 2021-11-08 21:12:05 +0000 |
| commit | b56b112e62e2f0534ee341100a48b9becdc318d8 (patch) | |
| tree | d5521f944e401273ef08ef0c40150884c881addb | |
| parent | 737970946bc0198453fa7adb7a5c55bab160dfc6 (diff) | |
| download | qosify-b56b112e62e2f0534ee341100a48b9becdc318d8.tar.gz | |
ubus: fix crash caused by missing static keyword
Signed-off-by: Felix Fietkau <nbd@nbd.name>
| -rw-r--r-- | ubus.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -397,7 +397,7 @@ qosify_ubus_event_cb(struct ubus_context *ctx, struct ubus_event_handler *ev, static void ubus_connect_handler(struct ubus_context *ctx) { - struct ubus_event_handler ev = { + static struct ubus_event_handler ev = { .cb = qosify_ubus_event_cb }; |