about summary refs log tree commit diff
path: root/sysdeps/generic/updwtmp.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-04-18 19:59:18 +0000
committerUlrich Drepper <drepper@redhat.com>2000-04-18 19:59:18 +0000
commit5ff2dc129f8d77ecaaf473ce19ca194e4e0bc330 (patch)
tree943e332a5c74a18c8b2ceb059f4ec19135811718 /sysdeps/generic/updwtmp.c
parent22b0607b9390828dd2841cd383ca6bfc24218164 (diff)
downloadglibc-5ff2dc129f8d77ecaaf473ce19ca194e4e0bc330.tar.gz
glibc-5ff2dc129f8d77ecaaf473ce19ca194e4e0bc330.tar.xz
glibc-5ff2dc129f8d77ecaaf473ce19ca194e4e0bc330.zip
Fix typo.
Diffstat (limited to 'sysdeps/generic/updwtmp.c')
-rw-r--r--sysdeps/generic/updwtmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/generic/updwtmp.c b/sysdeps/generic/updwtmp.c
index 5ab7ce6acc..2bd5b7b330 100644
--- a/sysdeps/generic/updwtmp.c
+++ b/sysdeps/generic/updwtmp.c
@@ -28,7 +28,7 @@
 void
 __updwtmp (const char *wtmp_file, const struct utmp *utmp)
 {
-  file_name = TRANSFORM_UTMP_FILE_NAME (wtmp_file);
+  const char *file_name = TRANSFORM_UTMP_FILE_NAME (wtmp_file);
 
   (*__libc_utmp_file_functions.updwtmp) (file_name, utmp);
 }