summaryrefslogtreecommitdiff
path: root/sysutils/xentools12/patches/patch-ai
blob: 69d8093da973afbcd2d33752c7d2bf3397ce6e9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ai,v 1.1 2004/05/08 18:24:00 cl Exp $

--- xc/lib/xc_misc.c.orig	2004-04-18 04:29:12.000000000 +0200
+++ xc/lib/xc_misc.c
@@ -8,7 +8,7 @@
 
 int xc_interface_open(void)
 {
-    int fd = open("/proc/xeno/privcmd", O_RDWR);
+    int fd = open(PRIVCMD_PATH, O_RDWR);
     if ( fd == -1 )
         PERROR("Could not obtain handle on privileged command interface");
     return fd;