irqbalance: upgrade to version 1.8.0
[feed/packages.git] / utils / irqbalance / patches / 110-fix-runtime-socket-directory.patch
1 --- a/irqbalance.h
2 +++ b/irqbalance.h
3 @@ -165,7 +165,7 @@ extern unsigned int log_mask;
4 #endif /* HAVE_LIBSYSTEMD */
5
6 #define SOCKET_PATH "irqbalance"
7 -#define SOCKET_TMPFS "/run/irqbalance"
8 +#define SOCKET_TMPFS "/var/run/irqbalance"
9
10 extern int process_one_line(char *path, void (*cb)(char *line, void *data), void *data);
11 extern void get_mask_from_bitmap(char *line, void *mask);
12 --- a/ui/irqbalance-ui.h
13 +++ b/ui/irqbalance-ui.h
14 @@ -8,7 +8,7 @@
15 #include <glib-unix.h>
16
17 #define SOCKET_PATH "irqbalance"
18 -#define SOCKET_TMPFS "/run/irqbalance"
19 +#define SOCKET_TMPFS "/var/run/irqbalance"
20
21 #define STATS "stats"
22 #define SET_SLEEP "settings sleep "