aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/xenstore/xenstored_domain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/xenstore/xenstored_domain.c b/tools/xenstore/xenstored_domain.c
index 53fb68f21d..7aa87cd022 100644
--- a/tools/xenstore/xenstored_domain.c
+++ b/tools/xenstore/xenstored_domain.c
@@ -547,7 +547,7 @@ static int close_xc_handle(void *_handle)
const char *get_implicit_path(const struct connection *conn)
{
if (!conn->domain)
- return NULL;
+ return "/local/domain/0";
return conn->domain->path;
}