diff options
| author | Giorgos Keramidas <keramida@FreeBSD.org> | 2002-06-09 04:18:45 +0000 |
|---|---|---|
| committer | Giorgos Keramidas <keramida@FreeBSD.org> | 2002-06-09 04:18:45 +0000 |
| commit | e02ef09616de692db8f5c2f58223ac2cedb34647 (patch) | |
| tree | 8b1b13b65f5ac8aaa96fdf1324c802a932513687 /bin/date | |
| parent | a7c1ac2f62292c0affa47a7d5c0b8e9207dc67d4 (diff) | |
Notes
Diffstat (limited to 'bin/date')
| -rw-r--r-- | bin/date/netdate.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/date/netdate.c b/bin/date/netdate.c index f9866fdde2b7..14716df951b1 100644 --- a/bin/date/netdate.c +++ b/bin/date/netdate.c @@ -76,7 +76,8 @@ netsettime(time_t tval) struct sockaddr_in lsin, dest, from; fd_set ready; long waittime; - int s, length, port, timed_ack, found, lerr; + int s, port, timed_ack, found, lerr; + socklen_t length; char hostname[MAXHOSTNAMELEN]; if ((sp = getservbyname("timed", "udp")) == NULL) { |
