From babdc3c4c35516fec2ccb2ea15587db4d624f03d Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Tue, 17 Jul 2007 13:40:16 +0000 Subject: use socklen_t to match accept() prototype --- mdk-stage1/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mdk-stage1') diff --git a/mdk-stage1/init.c b/mdk-stage1/init.c index a47017b58..644879ac4 100644 --- a/mdk-stage1/init.c +++ b/mdk-stage1/init.c @@ -117,7 +117,7 @@ void doklog() fd_set readset, unixs; int in, out, i; int log; - int s; + socklen_t s; int sock = -1; struct sockaddr_un sockaddr; char buf[1024]; -- cgit v1.2.1