about summary refs log tree commit diff
path: root/login/utmp_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'login/utmp_file.c')
-rw-r--r--login/utmp_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/login/utmp_file.c b/login/utmp_file.c
index fb5840242e..f32144d1f7 100644
--- a/login/utmp_file.c
+++ b/login/utmp_file.c
@@ -437,7 +437,7 @@ pututline_file (const struct utmp *data)
 #endif
 
       if (__lseek64 (new_fd, __lseek64 (file_fd, 0, SEEK_CUR), SEEK_SET) == -1
-	  || dup2 (new_fd, file_fd) < 0)
+	  || __dup2 (new_fd, file_fd) < 0)
 	{
 	  close_not_cancel_no_status (new_fd);
 	  return NULL;