summaryrefslogtreecommitdiffstats
path: root/tcpip/ttylinkd.c
diff options
context:
space:
mode:
Diffstat (limited to 'tcpip/ttylinkd.c')
-rw-r--r--tcpip/ttylinkd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcpip/ttylinkd.c b/tcpip/ttylinkd.c
index f32499c..c530d73 100644
--- a/tcpip/ttylinkd.c
+++ b/tcpip/ttylinkd.c
@@ -308,7 +308,7 @@ int main(int argc, char *argv[])
exit(1);
}
- if (bind(ctl_skt, (struct sockaddr*)&ctl_sin, sizeof(ctl_sin)) != 0)
+ if (bind(ctl_skt, &ctl_sin, sizeof(ctl_sin)) != 0)
{
syslog(LOG_DAEMON | LOG_CRIT, "main(): Error when trying to bind() control socket.");
close(skt);