CImageInfoNI: Fix display imagesize for root1 sysfs on HD2 hardware

Origin commit data
------------------
Commit: 66b0cca509
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-08-23 (Tue, 23 Aug 2016)
This commit is contained in:
Michael Liebmann
2016-08-23 21:52:20 +02:00
committed by vanhofen
parent ec7f1939e7
commit 5ee03e8537

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)