summaryrefslogtreecommitdiff
path: root/sysutils/xentools411/patches/patch-tools_xenstore_xs_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/xentools411/patches/patch-tools_xenstore_xs_lib.c')
-rw-r--r--sysutils/xentools411/patches/patch-tools_xenstore_xs_lib.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/sysutils/xentools411/patches/patch-tools_xenstore_xs_lib.c b/sysutils/xentools411/patches/patch-tools_xenstore_xs_lib.c
new file mode 100644
index 00000000000..5cd20cf2bc0
--- /dev/null
+++ b/sysutils/xentools411/patches/patch-tools_xenstore_xs_lib.c
@@ -0,0 +1,13 @@
+$NetBSD: patch-tools_xenstore_xs_lib.c,v 1.1 2018/07/24 13:40:11 bouyer Exp $
+
+--- tools/xenstore/xs_lib.c.orig
++++ tools/xenstore/xs_lib.c
+@@ -52,7 +52,7 @@ static const char *xs_daemon_path(void)
+ const char *xs_daemon_tdb(void)
+ {
+ static char buf[PATH_MAX];
+- snprintf(buf, sizeof(buf), "%s/tdb", xs_daemon_rootdir());
++ snprintf(buf, sizeof(buf), "%s/tdb", xs_daemon_rundir());
+ return buf;
+ }
+