summaryrefslogtreecommitdiff
path: root/src/filelock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/filelock.c')
-rw-r--r--src/filelock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filelock.c b/src/filelock.c
index bdfcda9ade0..c1c4f88dbe3 100644
--- a/src/filelock.c
+++ b/src/filelock.c
@@ -683,7 +683,7 @@ or else nothing is done if current buffer isn't visiting a file.")
if (NILP (file))
file = current_buffer->file_truename;
else
- CHECK_STRING (file, 0);
+ CHECK_STRING (file);
if (SAVE_MODIFF < MODIFF
&& !NILP (file))
lock_file (file);