summaryrefslogtreecommitdiff
path: root/usr.bin/fetch
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2011-09-27 19:08:27 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2011-09-27 19:08:27 +0000
commitaf92235d5bc7fda31429a5e2603345134fb47b08 (patch)
tree03aa02f2ac62e078c81d92e2e49abba610ce53ce /usr.bin/fetch
parent983eb23a5d4d838c03369ec112dd6f53e08daf94 (diff)
downloadsrc-test2-af92235d5bc7fda31429a5e2603345134fb47b08.tar.gz
src-test2-af92235d5bc7fda31429a5e2603345134fb47b08.zip
Notes
Diffstat (limited to 'usr.bin/fetch')
-rw-r--r--usr.bin/fetch/fetch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/fetch/fetch.c b/usr.bin/fetch/fetch.c
index 267deac61c41..11b714fe4cd7 100644
--- a/usr.bin/fetch/fetch.c
+++ b/usr.bin/fetch/fetch.c
@@ -561,8 +561,8 @@ fetch(char *URL, const char *path)
}
}
/* seek to where we left off */
- if (of != NULL && fseek(of, url->offset, SEEK_SET) != 0) {
- warn("%s: fseek()", path);
+ if (of != NULL && fseeko(of, url->offset, SEEK_SET) != 0) {
+ warn("%s: fseeko()", path);
fclose(of);
of = NULL;
/* picked up again later */