Fix wording, thanks wwp
authorColin Leroy <colin@colino.net>
Wed, 10 Oct 2018 08:37:23 +0000 (10:37 +0200)
committerColin Leroy <colin@colino.net>
Wed, 10 Oct 2018 08:37:23 +0000 (10:37 +0200)
src/common/file-utils.c

index 392821ef3aeb568a4a8cd55b7542e972de309835..97f1f50d6e087ecb5464491ddf54a1de4e3f48fe 100644 (file)
@@ -834,7 +834,7 @@ FILE *my_tmpfile(void)
  * precise length isn't known, it is possible to ask for more.
  * 
  * In this case, once writing to the pointer is done, the 
- * caller is responsible to call ftruncate(fileno(fp), ftell(fp))
+ * caller is responsible for calling ftruncate(fileno(fp), ftell(fp))
  * to make sure re-reading the stream will return EOF at the
  * end of what we wrote. 
  * Otherwise, re-reading the stream will return uninitialized