diff options
author | Olivier Blin <oblin@mandriva.com> | 2007-07-17 13:40:16 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2007-07-17 13:40:16 +0000 |
commit | babdc3c4c35516fec2ccb2ea15587db4d624f03d (patch) | |
tree | 443cc77efaca2779e13ddfec63191d5b79c53ef4 /mdk-stage1 | |
parent | b8687f0b8584aa8ef6bbedce19c4f64e7d5ac848 (diff) | |
download | drakx-babdc3c4c35516fec2ccb2ea15587db4d624f03d.tar drakx-babdc3c4c35516fec2ccb2ea15587db4d624f03d.tar.gz drakx-babdc3c4c35516fec2ccb2ea15587db4d624f03d.tar.bz2 drakx-babdc3c4c35516fec2ccb2ea15587db4d624f03d.tar.xz drakx-babdc3c4c35516fec2ccb2ea15587db4d624f03d.zip |
use socklen_t to match accept() prototype
Diffstat (limited to 'mdk-stage1')
-rw-r--r-- | mdk-stage1/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
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]; |