summaryrefslogtreecommitdiff
path: root/src/lib/eeze/eeze_disk_libmount_new.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/eeze/eeze_disk_libmount_new.c')
-rw-r--r--src/lib/eeze/eeze_disk_libmount_new.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eeze/eeze_disk_libmount_new.c b/src/lib/eeze/eeze_disk_libmount_new.c
index f7fd17d0af..a04b91453c 100644
--- a/src/lib/eeze/eeze_disk_libmount_new.c
+++ b/src/lib/eeze/eeze_disk_libmount_new.c
@@ -439,7 +439,7 @@ eeze_mount_tabs_watch(void)
439 _mountinfo = open("/proc/self/mountinfo", O_RDONLY, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH); 439 _mountinfo = open("/proc/self/mountinfo", O_RDONLY, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH);
440 if (_mountinfo < 0) goto error; 440 if (_mountinfo < 0) goto error;
441 if (fcntl(_mountinfo, F_SETFL, O_NONBLOCK) < 0) goto error; 441 if (fcntl(_mountinfo, F_SETFL, O_NONBLOCK) < 0) goto error;
442 442
443 _mountinfo_fdh = ecore_main_fd_handler_file_add(_mountinfo, ECORE_FD_ERROR, _eeze_mount_fdh, NULL, NULL, NULL); 443 _mountinfo_fdh = ecore_main_fd_handler_file_add(_mountinfo, ECORE_FD_ERROR, _eeze_mount_fdh, NULL, NULL, NULL);
444 if (!_mountinfo_fdh) goto error; 444 if (!_mountinfo_fdh) goto error;
445 _fstab_mon = ecore_file_monitor_add("/etc/fstab", _eeze_mount_tab_watcher, NULL); 445 _fstab_mon = ecore_file_monitor_add("/etc/fstab", _eeze_mount_tab_watcher, NULL);