From 5ee03e8537471164d3b207749655e22c17f878d7 Mon Sep 17 00:00:00 2001 From: Michael Liebmann Date: Tue, 23 Aug 2016 21:52:20 +0200 Subject: [PATCH] CImageInfoNI: Fix display imagesize for root1 sysfs on HD2 hardware Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/66b0cca5095dfb268dad773f2dbe5bf5e7527d87 Author: Michael Liebmann Date: 2016-08-23 (Tue, 23 Aug 2016) --- src/gui/imageinfo_ni.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/imageinfo_ni.cpp b/src/gui/imageinfo_ni.cpp index f1e82ee0a..0f716f01e 100644 --- a/src/gui/imageinfo_ni.cpp +++ b/src/gui/imageinfo_ni.cpp @@ -552,7 +552,7 @@ void CImageInfoNI::get_DF_Info() printf("[read_df] popen error\n" ); #ifdef BOXMODEL_APOLLO - strcpy(mtd_info[systemfs].dev,"mtd:root0"); + strcpy(mtd_info[systemfs].dev, ("mtd:"+get_systemRoot()).c_str()); #endif while ((read = getline(&buffer, &len, pipe_reader)) != -1)