summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libopkg/opkg_download.c2
-rw-r--r--libopkg/pkg.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libopkg/opkg_download.c b/libopkg/opkg_download.c
index 7062766..81ce53d 100644
--- a/libopkg/opkg_download.c
+++ b/libopkg/opkg_download.c
@@ -101,7 +101,7 @@ opkg_download(const char *src, const char *dest_file_name,
sprintf_alloc(&tmp_file_location, "%s/%s", conf->tmp_dir, src_base);
err = unlink(tmp_file_location);
if (err && errno != ENOENT) {
- opkg_perror(ERROR, "Failed to unlink %s\n", tmp_file_location);
+ opkg_perror(ERROR, "Failed to unlink %s", tmp_file_location);
free(tmp_file_location);
return -1;
}
diff --git a/libopkg/pkg.c b/libopkg/pkg.c
index 411817b..e541825 100644
--- a/libopkg/pkg.c
+++ b/libopkg/pkg.c
@@ -1120,7 +1120,7 @@ pkg_get_installed_files(pkg_t *pkg)
pkg->dest->info_dir, pkg->name);
list_file = fopen(list_file_name, "r");
if (list_file == NULL) {
- opkg_perror(ERROR, "Failed to open %s.\n",
+ opkg_perror(ERROR, "Failed to open %s",
list_file_name);
free(list_file_name);
return pkg->installed_files;