summaryrefslogtreecommitdiff
path: root/src/filelock.c
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1999-03-18 00:16:38 +0000
committerKarl Heuer <kwzh@gnu.org>1999-03-18 00:16:38 +0000
commit29a2adb0fb0b90fe3ead78a8201c28f63754fa92 (patch)
treeba317432066b20b0601332cd462e06802a0b6867 /src/filelock.c
parent1b42a753f9a94f240cf209a630ba5395ca6a56db (diff)
downloademacs-29a2adb0fb0b90fe3ead78a8201c28f63754fa92.tar.gz
(get_boot_time): Test tempname, not filename.
Diffstat (limited to 'src/filelock.c')
-rw-r--r--src/filelock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filelock.c b/src/filelock.c
index 3e34514fef8..3b65d127de9 100644
--- a/src/filelock.c
+++ b/src/filelock.c
@@ -180,7 +180,7 @@ get_boot_time ()
sprintf (cmd_string, "%s.%d", WTMP_FILE, counter);
tempname = build_string (cmd_string);
- if (! NILP (Ffile_exists_p (filename)))
+ if (! NILP (Ffile_exists_p (tempname)))
filename = tempname;
else
{