about summary refs log tree commit diff
path: root/sysdeps/generic
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/enbl-secure.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/generic/enbl-secure.c b/sysdeps/generic/enbl-secure.c
index 8e1327c878..3520ad5fb0 100644
--- a/sysdeps/generic/enbl-secure.c
+++ b/sysdeps/generic/enbl-secure.c
@@ -32,7 +32,7 @@ uid_t __libc_uid;
 void
 __libc_init_secure (void)
 {
-  __libc_uid == __getuid ();
+  __libc_uid = __getuid ();
   __libc_enable_secure = (__geteuid () != __libc_uid
 			  || __getegid () != __getgid ());
 }