* fileio.c (report_file_errno): Fix errno reporting bug.
[bpt/emacs.git] / src / gfilenotify.c
index 47b645b..8f13c72 100644 (file)
@@ -173,7 +173,7 @@ will be reported only in case of the 'moved' event.  */)
   CHECK_STRING (file);
   file = Fdirectory_file_name (Fexpand_file_name (file, Qnil));
   if (NILP (Ffile_exists_p (file)))
-    report_file_error ("File does not exist", list1 (file));
+    report_file_error ("File does not exist", file);
 
   CHECK_LIST (flags);