From: Olaf Hering Date: Mon, 22 Sep 2014 13:00:06 +0000 (+0200) Subject: tools/libxc: use XEN_RUN_DIR for SUSPEND_LOCK_FILE X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~4361 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=753891167d665766a32b2ad17a439bfef27301fd;p=xen.git tools/libxc: use XEN_RUN_DIR for SUSPEND_LOCK_FILE Remove hardcoded /var/run/xen directory path, use XEN_RUN_DIR instead. Signed-off-by: Olaf Hering Acked-by: Ian Campbell --- diff --git a/tools/libxc/xc_suspend.c b/tools/libxc/xc_suspend.c index 200d381d00..e22f4ac103 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