同步更新testapi接口

Change-Id: I3f6f688fb2959e17127aa579f975f4fb98bd57c5
diff --git a/mbtk/test/libmbtk_ril/mbtk_info_test.c b/mbtk/test/libmbtk_ril/mbtk_info_test.c
index 2ee0f58..116fd4f 100755
--- a/mbtk/test/libmbtk_ril/mbtk_info_test.c
+++ b/mbtk/test/libmbtk_ril/mbtk_info_test.c
@@ -759,20 +759,21 @@
                     printf("Error.");
                 }
             } else if(!strncasecmp(cmd, "temp", 4)){
-                int temp;
+                mbtk_thermal_info_t temp;
+                memset(&temp, 0, sizeof(mbtk_thermal_info_t));
                 if(!strcasecmp(cmd, "temp 0")) {
                     err = mbtk_temp_get(info_handle, 0, &temp);
                     if(err) {
                         printf("Error : %d\n", err);
                     } else {
-                        printf("SOC : %d\n", temp);
+                        printf("SOC : %d\n", temp.ther);
                     }
                 } else if(!strcasecmp(cmd, "temp 1")) {
                     err = mbtk_temp_get(info_handle, 1, &temp);
                     if(err) {
                         printf("Error : %d\n", err);
                     } else {
-                        printf("RF : %d\n", temp);
+                        printf("RF : %d\n", temp.ther);
                     }
                 } else {
                     printf("Error.");