From f8bcbca2f702fe7df6051e2a9781464a2ef8a448 Mon Sep 17 00:00:00 2001 From: David Hendricks Date: Thu, 9 Jun 2016 16:44:27 -0700 Subject: [PATCH] sb_firmware: update lockfile path This updates the lockfile path for FHS 3.0 since powerd as well as other pieces of software are migrating over. BUG=chromium:616620 CQ-DEPEND=CL:351271 BRANCH=none TEST=compiled Change-Id: I6aa5fa30225e45039316e4a3af0e50cdef0fdf4e Signed-off-by: David Hendricks Reviewed-on: https://chromium-review.googlesource.com/351345 Reviewed-by: Dan Erat --- util/powerd_lock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/powerd_lock.c b/util/powerd_lock.c index 94fa999e30..07af9bd710 100644 --- a/util/powerd_lock.c +++ b/util/powerd_lock.c @@ -34,7 +34,7 @@ * Path to a file containing flashrom's PID. While present, powerd avoids * suspending or shutting down the system. */ -static const char lock_file_path[] = "/var/lock/battery_tool_powerd.lock"; +static const char lock_file_path[] = "/run/lock/battery_tool_powerd.lock"; int disable_power_management() {