--- a/ckutio.c
+++ b/ckutio.c
@@ -492,7 +492,7 @@
 #define LOCK_DIR "/var/spool/locks"
 #else
 #ifdef LINUXFSSTND
-#define LOCK_DIR "/var/lock";
+#define LOCK_DIR "@TERMUX_PREFIX@/var/lock";
 #else
 #define LOCK_DIR "/usr/spool/locks"
 #endif /* LINUXFSSTND */
