summaryrefslogtreecommitdiffstats
path: root/libopkg/opkg_download.c
diff options
context:
space:
mode:
authorgraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-12-14 00:57:47 (EST)
committer graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-12-14 00:57:47 (EST)
commitf5561428256847e24e7a5a688f26a92d12372f75 (patch)
tree37d941b3d838abf5161eafb3f43ec236ab73b72b /libopkg/opkg_download.c
parent0166b039680ca27ed48677680be4fe10846613a4 (diff)
Don't need \n for perrors.
git-svn-id: http://opkg.googlecode.com/svn/trunk@491 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'libopkg/opkg_download.c')
-rw-r--r--libopkg/opkg_download.c2
1 files changed, 1 insertions, 1 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;
}