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:
parent
1b42a753f9
commit
29a2adb0fb
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue