about summary refs log tree commit diff
path: root/login/utmp_daemon.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-04-08 23:35:13 +0000
committerUlrich Drepper <drepper@redhat.com>1998-04-08 23:35:13 +0000
commit8d88d9f8aa759acc1d0b3919fa6080bb35b0f991 (patch)
treedfa02b19a5e2b5fe12e9b1c2a6870457682a25d4 /login/utmp_daemon.c
parent2ad4fab214b13af85237b9e836c525e9ce3e7fb6 (diff)
downloadglibc-8d88d9f8aa759acc1d0b3919fa6080bb35b0f991.tar.gz
glibc-8d88d9f8aa759acc1d0b3919fa6080bb35b0f991.tar.xz
glibc-8d88d9f8aa759acc1d0b3919fa6080bb35b0f991.zip
Update.
1998-04-08  Ulrich Drepper  <drepper@cygnus.com>

	* login/utmp_file.c: use __ftruncate not ftruncate.
	* sysdeps/unix/common/syscalls.list: Add __ftruncate as real name
	for system call and make ftruncate weak alias.
	* posix/unistd.h: Add prototype for __ftruncate.
	* login/utmp_daemon.c (open_socket): Use __socket not socket.
	* nscd/nscd_getpw_r.c (__nscd_getpw_r): use __snprintf and __readv
	instead of snprintf and readv.
	* nscd/nscd_getgr_r.c (__nscd_getgr_r): Use __snprintf not
	snprintf.
	* stdlib/strtod.c: Call strtoull/wcstoull's internal functions
	directly.
Diffstat (limited to 'login/utmp_daemon.c')
-rw-r--r--login/utmp_daemon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/login/utmp_daemon.c b/login/utmp_daemon.c
index e3c9371a54..40389f21a0 100644
--- a/login/utmp_daemon.c
+++ b/login/utmp_daemon.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Mark Kettenis <kettenis@phys.uva.nl>, 1997.
 
@@ -409,7 +409,7 @@ open_socket (const char *name)
   struct sockaddr_un addr;
   int sock;
 
-  sock = socket (PF_UNIX, SOCK_STREAM, 0);
+  sock = __socket (PF_UNIX, SOCK_STREAM, 0);
   if (sock < 0)
     return -1;