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>
This commit is contained in:
David Hendricks
2016-06-09 16:44:27 -07:00
committed by chrome-bot
parent 4ddf54d7b0
commit f8bcbca2f7

View File

@@ -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()
{