diff options
Diffstat (limited to 'common/state')
-rw-r--r-- | common/state/backend_storage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/state/backend_storage.c b/common/state/backend_storage.c index 825db824b3..c6ebe86244 100644 --- a/common/state/backend_storage.c +++ b/common/state/backend_storage.c @@ -214,7 +214,7 @@ static int mtd_get_meminfo(const char *path, struct mtd_info_user *meminfo) fd = open(path, O_RDONLY); if (fd < 0) { - pr_err("Failed to open '%s', %d\n", path, ret); + pr_err("Failed to open '%s', %d\n", path, fd); return fd; } |