@@ -75,15 +75,15 @@ To retrieve all package information for installed packages:
75
75
package_info_get_installed_time(package_info, &installed_time);
76
76
package_info_get_first_installed_time(package_info, &first_installed_time);
77
77
78
- dlog_print(DLOG_INFO, TAG, "pkg \t= [%s]\n ", pkg);
79
- dlog_print(DLOG_INFO, TAG, "label \t= [%s]\n ", label);
80
- dlog_print(DLOG_INFO, TAG, "icon \t= [%s]\n ", icon);
81
- dlog_print(DLOG_INFO, TAG, "version \t= [%s]\n ", version);
82
- dlog_print(DLOG_INFO, TAG, "type \t= [%s]\n ", type);
83
- dlog_print(DLOG_INFO, TAG, "storage \t= [%d]\n ", storage);
84
- dlog_print(DLOG_INFO, TAG, "system \t= [%d]\n ", system);
85
- dlog_print(DLOG_INFO, TAG, "removable \t= [%d]\n ", removable);
86
- dlog_print(DLOG_INFO, TAG, "preload \t= [%d]\n ", preload);
78
+ dlog_print(DLOG_INFO, TAG, "pkg \t= [%s]", pkg);
79
+ dlog_print(DLOG_INFO, TAG, "label \t= [%s]", label);
80
+ dlog_print(DLOG_INFO, TAG, "icon \t= [%s]", icon);
81
+ dlog_print(DLOG_INFO, TAG, "version \t= [%s]", version);
82
+ dlog_print(DLOG_INFO, TAG, "type \t= [%s]", type);
83
+ dlog_print(DLOG_INFO, TAG, "storage \t= [%d]", storage);
84
+ dlog_print(DLOG_INFO, TAG, "system \t= [%d]", system);
85
+ dlog_print(DLOG_INFO, TAG, "removable \t= [%d]", removable);
86
+ dlog_print(DLOG_INFO, TAG, "preload \t= [%d]", preload);
87
87
dlog_print(DLOG_INFO, TAG, "installed_time \t= [%d]", installed_time);
88
88
dlog_print(DLOG_INFO, TAG, "first_installed_time \t= [%ld]", first_installed_time);
89
89
@@ -131,9 +131,9 @@ To retrieve specific package information:
131
131
package_info_get_label(package_info, &label);
132
132
package_info_get_type(package_info, &type);
133
133
134
- dlog_print(DLOG_INFO, TAG, "label \t= [%s]\n ", label);
135
- dlog_print(DLOG_INFO, TAG, "icon \t= [%s]\n ", icon);
136
- dlog_print(DLOG_INFO, TAG, "version \t= [%s]\n ", version);
134
+ dlog_print(DLOG_INFO, TAG, "label \t= [%s]", label);
135
+ dlog_print(DLOG_INFO, TAG, "icon \t= [%s]", icon);
136
+ dlog_print(DLOG_INFO, TAG, "version \t= [%s]", version);
137
137
138
138
free(label);
139
139
free(icon);
0 commit comments