summaryrefslogtreecommitdiff
path: root/core/src/xmake/io/filelock_open.c
diff options
context:
space:
mode:
authorruki <[email protected]>2025-11-10 23:20:11 +0800
committerruki <[email protected]>2025-11-10 23:20:11 +0800
commitef701a4dce8b7d9a663e084d1fc0b243ddae9397 (patch)
tree45fd20851dd3480bd042dd14af77286c4289d190 /core/src/xmake/io/filelock_open.c
parent6db4c62a474e380071625fa5cb7743972a562940 (diff)
format core code again
Diffstat (limited to 'core/src/xmake/io/filelock_open.c')
-rw-r--r--core/src/xmake/io/filelock_open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/xmake/io/filelock_open.c b/core/src/xmake/io/filelock_open.c
index 2afb173d3..85df2bba7 100644
--- a/core/src/xmake/io/filelock_open.c
+++ b/core/src/xmake/io/filelock_open.c
@@ -45,7 +45,7 @@ tb_int_t xm_io_filelock_open(lua_State *lua) {
tb_assert_and_check_return_val(path, 0);
// init file lock
- tb_long_t tryn = 2;
+ tb_long_t tryn = 2;
tb_filelock_ref_t lock = tb_null;
while (!lock && tryn-- > 0) {
lock = tb_filelock_init_from_path(path,