summaryrefslogtreecommitdiff
path: root/sysutils/xentools415/patches/patch-tools_xenstore_xs_lib.c
blob: 54ef209a7341d153e40443318966801f83fa6c2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-tools_xenstore_xs_lib.c,v 1.1 2021/04/18 12:31:26 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;
 }