Constant correctness: socket(PF_*, ...) -> socket(AF_*, ...)

This commit is contained in:
Nicholas J. Kain
2011-06-25 11:11:48 -04:00
parent e50c429235
commit 7ee0001e97
5 changed files with 11 additions and 11 deletions

View File

@@ -527,7 +527,7 @@ static int get_listen(void)
.sun_path = "/var/state/ifchange"
};
lsock = socket(PF_UNIX, SOCK_STREAM, 0);
lsock = socket(AF_UNIX, SOCK_STREAM, 0);
if (lsock == -1)
suicide("dispatch_work - failed to create socket");