diff options
author | Rob Landley <rob@landley.net> | 2018-08-03 10:36:06 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2018-08-03 10:36:06 -0500 |
commit | 5e940c3806f5a1d5191ef35cc5bf2420b59d3059 (patch) | |
tree | dc3f00ab73f83f72d6a2b9a732690d123def66fe /toys/pending | |
parent | 917892ea7d676c0937f1921bb126b200b2dea329 (diff) | |
download | toybox-5e940c3806f5a1d5191ef35cc5bf2420b59d3059.tar.gz |
Fix error message pointed out by Reverend Homer.
Diffstat (limited to 'toys/pending')
-rw-r--r-- | toys/pending/wget.c | 2 |
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); |