summaryrefslogtreecommitdiff
path: root/src/inotify.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2012-12-11 10:24:09 +0200
committerEli Zaretskii <eliz@gnu.org>2012-12-11 10:24:09 +0200
commit1b47babdb7fd503ad79a696a1b9d9b2e2b46e10c (patch)
treea4f87393ba54988d7c630757929982cbfc0575a4 /src/inotify.c
parentd46d2d3a70ee7cc2ac156d5a2824e83e9160b96a (diff)
downloademacs-1b47babdb7fd503ad79a696a1b9d9b2e2b46e10c.tar.gz
Minor change in variable name in inotify.c.
src/inotify.c (Finotify_add_watch): Rename decoded_file_name to encoded_file_name, which is what it is.
Diffstat (limited to 'src/inotify.c')
-rw-r--r--src/inotify.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/inotify.c b/src/inotify.c
index 4db95a069fe..17104c89064 100644
--- a/src/inotify.c
+++ b/src/inotify.c
@@ -325,7 +325,7 @@ is managed internally and there is no corresponding inotify_init. Use
{
uint32_t mask;
Lisp_Object watch_object;
- Lisp_Object decoded_file_name;
+ Lisp_Object encoded_file_name;
Lisp_Object watch_descriptor;
int watchdesc = -1;
@@ -345,8 +345,8 @@ is managed internally and there is no corresponding inotify_init. Use
}
mask = aspect_to_inotifymask (aspect);
- decoded_file_name = ENCODE_FILE (file_name);
- watchdesc = inotify_add_watch (inotifyfd, SSDATA (decoded_file_name), mask);
+ encoded_file_name = ENCODE_FILE (file_name);
+ watchdesc = inotify_add_watch (inotifyfd, SSDATA (encoded_file_name), mask);
if (watchdesc == -1)
report_file_error ("Could not add watch for file", Fcons (file_name, Qnil));