diff options
author | Rob Landley <rob@landley.net> | 2018-08-03 16:24:25 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2018-08-03 16:24:25 -0500 |
commit | 4b6c9d20f7274e20aca8301734b7da31310d9628 (patch) | |
tree | 4eef1310dea90647479881dd1073c92b7cd882cc /toys | |
parent | db017ea49b316d7d95a2641650648cbd6bbde03e (diff) | |
download | toybox-4b6c9d20f7274e20aca8301734b7da31310d9628.tar.gz |
Typo.
Diffstat (limited to 'toys')
-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 bb7f9abd..ced51d9c 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("'%s' already exists", TT.filename); + if (fopen(TT.filename, "r")) error_exit("'%s' already exists", TT.filename); if(!toys.optargs[0]) help_exit("no URL"); get_info(toys.optargs[0], hostname, port, path); |