summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorDavid Hendricks <dhendrix@chromium.org>2016-06-09 16:44:27 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-06-24 17:23:07 -0700
commitf8bcbca2f702fe7df6051e2a9781464a2ef8a448 (patch)
tree0f6c594b56257f9bd96b21309fc74b4eb531041a /util
parent4ddf54d7b0d9a36908f0c361bb003b02fc9ed1c9 (diff)
downloadchrome-ec-f8bcbca2f702fe7df6051e2a9781464a2ef8a448.tar.gz
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 <dhendrix@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/351345 Reviewed-by: Dan Erat <derat@chromium.org>
Diffstat (limited to 'util')
-rw-r--r--util/powerd_lock.c2
1 files changed, 1 insertions, 1 deletions
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()
{