git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
daemon/gnulib: Include glob module.
[libguestfs.git]
/
daemon
/
mknod.c
diff --git
a/daemon/mknod.c
b/daemon/mknod.c
index
adaeb80
..
6ff88ef
100644
(file)
--- a/
daemon/mknod.c
+++ b/
daemon/mknod.c
@@
-33,6
+33,7
@@
int
do_mknod (int mode, int devmajor, int devminor, const char *path)
{
+#ifdef HAVE_MKNOD
int r;
CHROOT_IN;
@@
-45,6
+46,10
@@
do_mknod (int mode, int devmajor, int devminor, const char *path)
}
return 0;
+#else
+ reply_with_error ("%s is not available", __func__);
+ return -1;
+#endif
}
int