diff options
| author | mycroft <mycroft@NetBSD.org> | 1993-04-18 18:14:35 +0000 |
|---|---|---|
| committer | mycroft <mycroft@NetBSD.org> | 1993-04-18 18:14:35 +0000 |
| commit | c1d3c012918bf221efade1ca7dbb341acfa1fa3d (patch) | |
| tree | b8007f17b75e1da67b7f7d3ffbd388417c37b5a9 /libexec | |
| parent | 7c053106128131073585ce845defee06b6eac15a (diff) | |
Cleanup for GCC 2.
Diffstat (limited to 'libexec')
| -rw-r--r-- | libexec/tftpd/tftpd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/tftpd/tftpd.c b/libexec/tftpd/tftpd.c index 29d4748f6b7..62e7f8a28b3 100644 --- a/libexec/tftpd/tftpd.c +++ b/libexec/tftpd/tftpd.c @@ -69,7 +69,7 @@ static char sccsid[] = "@(#)tftpd.c 5.13 (Berkeley) 2/26/91"; #define TIMEOUT 5 extern int errno; -struct sockaddr_in sin = { AF_INET }; +struct sockaddr_in s_in = { AF_INET }; int peer; int rexmtval = TIMEOUT; int maxtimeout = 5*TIMEOUT; @@ -164,7 +164,7 @@ main(ac, av) syslog(LOG_ERR, "socket: %m\n"); exit(1); } - if (bind(peer, (struct sockaddr *)&sin, sizeof (sin)) < 0) { + if (bind(peer, (struct sockaddr *)&s_in, sizeof (s_in)) < 0) { syslog(LOG_ERR, "bind: %m\n"); exit(1); } |
