aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}