]> git.eshelyaron.com Git - emacs.git/commitdiff
(get_boot_time): Test tempname, not filename.
authorKarl Heuer <kwzh@gnu.org>
Thu, 18 Mar 1999 00:16:38 +0000 (00:16 +0000)
committerKarl Heuer <kwzh@gnu.org>
Thu, 18 Mar 1999 00:16:38 +0000 (00:16 +0000)
src/filelock.c

index 3e34514fef8c72fa3376a999cb680aadea81441c..3b65d127de9bf94a8818365b7e916704cc0c42c3 100644 (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
        {