aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-04-18 19:58:03 +0000
committerUlrich Drepper <drepper@redhat.com>2000-04-18 19:58:03 +0000
commit22b0607b9390828dd2841cd383ca6bfc24218164 (patch)
treea770f1f800f68b915d0f7e780c9663fef687a740 /sysdeps/generic
parent92da46fc4cf874f651911a1d8048c2e5675f8a71 (diff)
downloadglibc-22b0607b9390828dd2841cd383ca6bfc24218164.tar
glibc-22b0607b9390828dd2841cd383ca6bfc24218164.tar.gz
glibc-22b0607b9390828dd2841cd383ca6bfc24218164.tar.bz2
glibc-22b0607b9390828dd2841cd383ca6bfc24218164.zip
Update.
* sysdeps/generic/updwtmp.c: Remove daemon support.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/updwtmp.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/sysdeps/generic/updwtmp.c b/sysdeps/generic/updwtmp.c
index d6f29b1851..5ab7ce6acc 100644
--- a/sysdeps/generic/updwtmp.c
+++ b/sysdeps/generic/updwtmp.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Mark Kettenis <kettenis@phys.uva.nl>, 1997.
@@ -28,14 +28,8 @@
void
__updwtmp (const char *wtmp_file, const struct utmp *utmp)
{
- /* See whether utmpd is running. */
- if ((*__libc_utmp_daemon_functions.updwtmp) (wtmp_file, utmp) < 0)
- {
- const char *file_name;
+ file_name = TRANSFORM_UTMP_FILE_NAME (wtmp_file);
- file_name = TRANSFORM_UTMP_FILE_NAME (wtmp_file);
-
- (*__libc_utmp_file_functions.updwtmp) (file_name, utmp);
- }
+ (*__libc_utmp_file_functions.updwtmp) (file_name, utmp);
}
weak_alias (__updwtmp, updwtmp)