This commit is contained in:
parent
69dffcab4b
commit
68ede54b3c
@ -1,13 +0,0 @@
|
||||
Index: irqbalance-1.9.2/irqbalance.c
|
||||
===================================================================
|
||||
--- irqbalance-1.9.2.orig/irqbalance.c
|
||||
+++ irqbalance-1.9.2/irqbalance.c
|
||||
@@ -578,7 +578,7 @@ int init_socket()
|
||||
addr.sun_family = AF_UNIX;
|
||||
snprintf(socket_name, 64, "%s/%s%d.sock", SOCKET_TMPFS, SOCKET_PATH, getpid());
|
||||
strncpy(addr.sun_path, socket_name, sizeof(addr.sun_path));
|
||||
- if (bind(socket_fd, (struct sockaddr *)&addr, sizeof(addr)) < 0) {
|
||||
+ if (1 || bind(socket_fd, (struct sockaddr *)&addr, sizeof(addr)) < 0) {
|
||||
log(TO_ALL, LOG_WARNING, "Daemon couldn't be bound to the file-based socket.\n");
|
||||
|
||||
/* Try binding to abstract */
|
Loading…
Reference in New Issue
Block a user