17 lines
396 B
Text
17 lines
396 B
Text
|
$NetBSD: patch-ck,v 1.1.1.1 2007/06/14 19:39:46 bouyer Exp $
|
||
|
|
||
|
--- xenstore/xs_lib.c.orig 2007-01-08 16:00:53.000000000 +0100
|
||
|
+++ xenstore/xs_lib.c 2007-04-26 13:16:40.000000000 +0200
|
||
|
@@ -79,8 +79,10 @@
|
||
|
if (s)
|
||
|
return s;
|
||
|
|
||
|
-#ifdef __linux__
|
||
|
+#if defined(__linux__)
|
||
|
return "/proc/xen/xenbus";
|
||
|
+#elif defined(__NetBSD__)
|
||
|
+ return "/kern/xen/xenbus";
|
||
|
#else
|
||
|
return "/dev/xen/xenbus";
|
||
|
#endif
|