aboutsummaryrefslogtreecommitdiffstats
path: root/src/filelock.c
diff options
context:
space:
mode:
authorKarl Heuer1999-03-18 00:16:38 +0000
committerKarl Heuer1999-03-18 00:16:38 +0000
commit29a2adb0fb0b90fe3ead78a8201c28f63754fa92 (patch)
treeba317432066b20b0601332cd462e06802a0b6867 /src/filelock.c
parent1b42a753f9a94f240cf209a630ba5395ca6a56db (diff)
downloademacs-29a2adb0fb0b90fe3ead78a8201c28f63754fa92.tar.gz
emacs-29a2adb0fb0b90fe3ead78a8201c28f63754fa92.zip
(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 ()
180 180
181 sprintf (cmd_string, "%s.%d", WTMP_FILE, counter); 181 sprintf (cmd_string, "%s.%d", WTMP_FILE, counter);
182 tempname = build_string (cmd_string); 182 tempname = build_string (cmd_string);
183 if (! NILP (Ffile_exists_p (filename))) 183 if (! NILP (Ffile_exists_p (tempname)))
184 filename = tempname; 184 filename = tempname;
185 else 185 else
186 { 186 {