about summary refs log tree commit diff
path: root/login
diff options
context:
space:
mode:
Diffstat (limited to 'login')
-rw-r--r--login/utmp_daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/login/utmp_daemon.c b/login/utmp_daemon.c
index 40389f21a0..6b4686ddd7 100644
--- a/login/utmp_daemon.c
+++ b/login/utmp_daemon.c
@@ -415,7 +415,7 @@ open_socket (const char *name)
 
   addr.sun_family = AF_UNIX;
   strcpy (addr.sun_path, name);
-  if (connect (sock, (struct sockaddr *) &addr, sizeof (addr)) < 0)
+  if (__connect (sock, (struct sockaddr *) &addr, sizeof (addr)) < 0)
     {
       close (sock);
       return -1;