From: Karl Heuer Date: Thu, 18 Mar 1999 00:16:38 +0000 (+0000) Subject: (get_boot_time): Test tempname, not filename. X-Git-Tag: emacs-20.4~450 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=29a2adb0fb0b90fe3ead78a8201c28f63754fa92;p=emacs.git (get_boot_time): Test tempname, not filename. --- 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 {