aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Woodward2004-10-03 21:58:36 +0000
committerJason Woodward2004-10-03 21:58:36 +0000
commitd18080c0c392e382be74eadf6dc6f0412a08d08a (patch)
tree77a0715e0cc31cd4de399bceed73ab10cef287f2 /src
parent49abdf063b3b8efd45f35e204fea1cb464a326ed (diff)
downloadslapt-get-d18080c0c392e382be74eadf6dc6f0412a08d08a.tar.gz
changed perror arg to file name
Diffstat (limited to 'src')
-rw-r--r--src/curl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/curl.c b/src/curl.c
index 00c09e3..f61a748 100644
--- a/src/curl.c
+++ b/src/curl.c
@@ -192,7 +192,7 @@ int download_pkg(const rc_config *global_config,pkg_info_t *pkg){
/* if the d/l fails, unlink the empty file */
if( unlink(file_name) == -1 ){
fprintf(stderr,_("Failed to unlink %s\n"),file_name);
- if( errno ) perror("unlink");
+ if( errno ) perror(file_name);
}
#endif
free(url);