commit | 742dd02ecf04062de53857c4336ccf6a03375af0 | [log] [tgz] |
---|---|---|
author | xf.li <xf.li@mobiletek.cn> | Thu Jun 08 01:43:32 2023 -0700 |
committer | xf.li <xf.li@mobiletek.cn> | Thu Jun 08 01:43:32 2023 -0700 |
tree | f710dc431d7cbac280cf98643b0dd6202f013686 | |
parent | d3b9e7d18fdab1c4275e621d79b105f441d15878 [diff] [blame] |
[Feature][ZXW-41] merged 0601 version Change-Id: I667af6bb09d65581d455b73f8984c160b2c67ad8
diff --git a/ap/app/zte_amt/amt.c b/ap/app/zte_amt/amt.c index 63aa40d..6178997 100755 --- a/ap/app/zte_amt/amt.c +++ b/ap/app/zte_amt/amt.c
@@ -1178,7 +1178,7 @@ AmtPrintf(AMT_INFO "%s: execute \"%s\"!\n", __FUNCTION__, pcmd); - if ((pPipe = popen(pcmd, "rb")) == NULL) + if ((pPipe = popen(pcmd, "r")) == NULL) { AmtPrintf(AMT_ERROR "popen \"%s\" failure.\n", pcmd); return -1;