about summary refs log tree commit diff
path: root/login/utmp_daemon.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-03-15 10:09:33 +0000
committerUlrich Drepper <drepper@redhat.com>1999-03-15 10:09:33 +0000
commitb0377551b68db7a263999df0765b66cb2d821935 (patch)
tree4de688c3be478940dad566c5d266cb6e5d25c66f /login/utmp_daemon.c
parent336dfb2d27fdd4c8fb69b5aee7817b595bb23691 (diff)
downloadglibc-b0377551b68db7a263999df0765b66cb2d821935.tar.gz
glibc-b0377551b68db7a263999df0765b66cb2d821935.tar.xz
glibc-b0377551b68db7a263999df0765b66cb2d821935.zip
Update.
1999-03-15  Ulrich Drepper  <drepper@cygnus.com>

	* intl/locale.alias: Add entries for Croatian.
	Patch by Tomislav Vujec <tvujec@CARNet.hr>.
Diffstat (limited to 'login/utmp_daemon.c')
-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 148a472900..1cf899f2a6 100644
--- a/login/utmp_daemon.c
+++ b/login/utmp_daemon.c
@@ -98,7 +98,7 @@ setutent_daemon (void)
       /* We have to make sure the socket is `closed on exec'.  */
       result = __fcntl (daemon_sock, F_GETFD, 0);
       if (result >= 0)
-	result = __fcntl (daemon_sock, F_SETFD, flags | FD_CLOEXEC);
+	result = __fcntl (daemon_sock, F_SETFD, result | FD_CLOEXEC);
       if (result == -1)
 	{
 	  close (daemon_sock);