diff options
author | jdp <jdp@FreeBSD.org> | 1997-11-18 03:27:34 +0000 |
---|---|---|
committer | jdp <jdp@FreeBSD.org> | 1997-11-18 03:27:34 +0000 |
commit | 5e61620bb6b50513a9a35617c3cacf393a3089b9 (patch) | |
tree | ce282978ae28f7d9e241b65abc962532dac70b75 /usr.bin/fetch/http.c | |
parent | 92e669ae40b035c9fb2638711a8dc7d3ee85e666 (diff) | |
download | FreeBSD-src-5e61620bb6b50513a9a35617c3cacf393a3089b9.zip FreeBSD-src-5e61620bb6b50513a9a35617c3cacf393a3089b9.tar.gz |
Add missing arguments detected by "-Wformat".
Diffstat (limited to 'usr.bin/fetch/http.c')
-rw-r--r-- | usr.bin/fetch/http.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/fetch/http.c b/usr.bin/fetch/http.c index 655be30..9328218 100644 --- a/usr.bin/fetch/http.c +++ b/usr.bin/fetch/http.c @@ -26,7 +26,7 @@ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: http.c,v 1.13 1997/10/31 23:33:44 ache Exp $ + * $Id: http.c,v 1.14 1997/11/01 05:47:41 ache Exp $ */ #include <sys/types.h> @@ -345,7 +345,7 @@ http_redirect(struct fetch_state *fs, char *new, int permanent) int rv; if (num_redirects > 5) { - warnx("%s: HTTP redirection limit exceeded"); + warnx("%s: HTTP redirection limit exceeded", out); return EX_PROTOCOL; } @@ -1067,7 +1067,8 @@ http_suck_chunked(struct fetch_state *fs, FILE *remote, FILE *local, if (errno || *line == 0 || (*ep && !isspace(*ep) && *ep != ';')) { warnx("%s: error processing chunked encoding: " - "uninterpretable length: %s", line); + "uninterpretable length: %s", fs->fs_outputfile, + line); return EX_PROTOCOL; } if (chunklen == 0) |