aboutsummaryrefslogtreecommitdiff
path: root/toys
diff options
context:
space:
mode:
Diffstat (limited to 'toys')
-rw-r--r--toys/pending/wget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/pending/wget.c b/toys/pending/wget.c
index 4283fe40..bb7f9abd 100644
--- a/toys/pending/wget.c
+++ b/toys/pending/wget.c
@@ -135,7 +135,7 @@ void wget_main(void)
// TODO extract filename to be saved from URL
if (!(toys.optflags & FLAG_f)) help_exit("no filename");
- if (fopen(TT.filename, "r")) perror_exit("file already exists");
+ if (fopen(TT.filename, "r")) perror_exit("'%s' already exists", TT.filename);
if(!toys.optargs[0]) help_exit("no URL");
get_info(toys.optargs[0], hostname, port, path);