From 29a2adb0fb0b90fe3ead78a8201c28f63754fa92 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Thu, 18 Mar 1999 00:16:38 +0000 Subject: [PATCH] (get_boot_time): Test tempname, not filename. --- src/filelock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.39.2