aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2004-12-17 18:31:40 +0000
committerGisle Vanem <gvanem@broadpark.no>2004-12-17 18:31:40 +0000
commit9a8ba19b7318fe38e46ae6366da49b516af13fd1 (patch)
treed95f7ef3ebda4a769c4a91858eb416b14b277985
parent41e776f9db72e08de4eeebed22420deb8421e6af (diff)
s/_write/write/g
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index ee80fabb3..a7af37665 100644
--- a/src/main.c
+++ b/src/main.c
@@ -237,7 +237,7 @@ static int ftruncate64 (int fd, curl_off_t where)
if (_lseeki64(fd, where, SEEK_SET) < 0)
return -1;
- if (_write(fd, 0, 0) < 0)
+ if (write(fd, 0, 0) < 0)
rc = -1;
_lseeki64(fd, curr, SEEK_SET);
return rc;