From 6ecd409b9d8098834f1acaa885f7dcbd7c116795 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Mon, 26 Nov 2018 21:37:20 +0100 Subject: [PATCH] posix/le_device_db_fs: fix EOF detection reading db --- platform/posix/le_device_db_fs.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/platform/posix/le_device_db_fs.c b/platform/posix/le_device_db_fs.c index 193412832..060e4c583 100644 --- a/platform/posix/le_device_db_fs.c +++ b/platform/posix/le_device_db_fs.c @@ -212,8 +212,12 @@ static void le_device_db_read(void){ } // read entries int i; - for (i=0;i