summaryrefslogtreecommitdiff
path: root/util/lock/gec_lock.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/lock/gec_lock.c')
-rw-r--r--util/lock/gec_lock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/lock/gec_lock.c b/util/lock/gec_lock.c
index 4df231af3e..d354ea08f3 100644
--- a/util/lock/gec_lock.c
+++ b/util/lock/gec_lock.c
@@ -32,7 +32,7 @@
#include "ipc_lock.h"
#include "locks.h"
-static struct ipc_lock gec_lock = IPC_LOCK_INIT(GECLOCK);
+static struct ipc_lock gec_lock = LOCKFILE_INIT(CROS_EC_LOCKFILE_NAME);
int acquire_gec_lock(int timeout_secs)
{