git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Check for ocaml-xml-light-devel (xml-light.cmxa)
[libguestfs.git]
/
daemon
/
mount.c
diff --git
a/daemon/mount.c
b/daemon/mount.c
index
5a27cea
..
49a0eab
100644
(file)
--- a/
daemon/mount.c
+++ b/
daemon/mount.c
@@
-50,7
+50,7
@@
do_mount_vfs (const char *options, const char *vfstype,
ABS_PATH (mountpoint, return -1);
- is_root =
strcmp (mountpoint, "/") == 0
;
+ is_root =
STREQ (mountpoint, "/")
;
if (!root_mounted && !is_root) {
reply_with_error ("mount: you must mount something on / first");