Merge "Fix error in clocks leading to devices staying unlocked" into lmp-mr1-dev
diff --git a/cryptfs.c b/cryptfs.c
index 7976e11..a424b69 100644
--- a/cryptfs.c
+++ b/cryptfs.c
@@ -3742,7 +3742,7 @@
 char* cryptfs_get_password()
 {
     struct timespec now;
-    clock_gettime(CLOCK_MONOTONIC, &now);
+    clock_gettime(CLOCK_BOOTTIME, &now);
     if (now.tv_sec < password_expiry_time) {
         return password;
     } else {