git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Version 1.11.0.
[libguestfs.git]
/
daemon
/
inotify.c
diff --git
a/daemon/inotify.c
b/daemon/inotify.c
index
ec3aa64
..
8e8b690
100644
(file)
--- a/
daemon/inotify.c
+++ b/
daemon/inotify.c
@@
-28,7
+28,7
@@
#include <sys/inotify.h>
#endif
#include <sys/inotify.h>
#endif
-#include "
../src/
guestfs_protocol.h"
+#include "guestfs_protocol.h"
#include "daemon.h"
#include "actions.h"
#include "optgroups.h"
#include "daemon.h"
#include "actions.h"
#include "optgroups.h"
@@
-70,7
+70,7
@@
do_inotify_init (int max_events)
#ifdef HAVE_SYS_INOTIFY_H
FILE *fp;
#ifdef HAVE_SYS_INOTIFY_H
FILE *fp;
- NEED_ROOT (return -1);
+ NEED_ROOT (
,
return -1);
if (max_events < 0) {
reply_with_error ("max_events < 0");
if (max_events < 0) {
reply_with_error ("max_events < 0");