CImageInfoNI: Fix display imagesize for root1 sysfs on HD2 hardware

Origin commit data
------------------
Branch: ni/coolstream
Commit: 66b0cca509
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-08-23 (Tue, 23 Aug 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Michael Liebmann
2016-08-23 21:52:20 +02:00
committed by vanhofen
parent 4de4c4eb19
commit 853e75e0d7

View File

@@ -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)