From: Olaf Hering Subject: [PATCH 9/9] tools/libxc: use XEN_RUN_DIR for SUSPEND_LOCK_FILE Date: Thu, 17 Apr 2014 16:13:50 +0200 Message-ID: <1397744030-31806-10-git-send-email-olaf@aepfle.de> References: <1397744030-31806-1-git-send-email-olaf@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1397744030-31806-1-git-send-email-olaf@aepfle.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: Olaf Hering , Ian.Jackson@eu.citrix.com, Ian.Campbell@citrix.com List-Id: xen-devel@lists.xenproject.org Remove hardcoded /var/run/xen directory path, use XEN_RUN_DIR instead. Signed-off-by: Olaf Hering --- tools/libxc/xc_suspend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libxc/xc_suspend.c b/tools/libxc/xc_suspend.c index 200d381..e22f4ac 100644 --- a/tools/libxc/xc_suspend.c +++ b/tools/libxc/xc_suspend.c @@ -20,7 +20,7 @@ #include "xc_private.h" #include "xenguest.h" -#define SUSPEND_LOCK_FILE "/var/run/xen/suspend-evtchn-%d.lock" +#define SUSPEND_LOCK_FILE XEN_RUN_DIR "/suspend-evtchn-%d.lock" /* * locking