changeset 24499:e5b719c6fd51

(get_boot_time): Test tempname, not filename.
author Karl Heuer <kwzh@gnu.org>
date Thu, 18 Mar 1999 00:16:38 +0000
parents 756058742361
children 1e30ade63ed3
files src/filelock.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/filelock.c	Wed Mar 17 22:06:23 1999 +0000
+++ b/src/filelock.c	Thu Mar 18 00:16:38 1999 +0000
@@ -180,7 +180,7 @@
 
       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
 	{