1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-07 04:10:27 -08:00

(get_boot_time): Test tempname, not filename.

This commit is contained in:
Karl Heuer 1999-03-18 00:16:38 +00:00
parent 1b42a753f9
commit 29a2adb0fb

View file

@ -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
{