[Bugfix][API-3][MISC]cant distinguish between power off and reset

Only Configure: No
Affected branch: master
Affected module: MISC
Is it affected on both ZXIC and MTK: only MTK
Self-test: Yes
Doc Update: No

Change-Id: I96dde95f91738839f002d1009480e5248096b142
diff --git a/IC_src/mtk/lib/liblynq-misc/lynq_misc.cpp b/IC_src/mtk/lib/liblynq-misc/lynq_misc.cpp
index ee28293..e8a4a07 100755
--- a/IC_src/mtk/lib/liblynq-misc/lynq_misc.cpp
+++ b/IC_src/mtk/lib/liblynq-misc/lynq_misc.cpp
@@ -67,7 +67,7 @@
     }

     if(flag[0] == 0)

     {

-        ret = system("cat /sys/fs/pstore/console-ramoops-0 > /dev/null");

+        ret = system("cat /sys/fs/pstore/pmsg-ramoops-0 > /dev/null");

         if(ret == 0)

         {

             RLOGE("reboot reason is sysrst pin\n");