Skip to content

Commit

Permalink
chapters/io: Fix typo in mmap_cp task
Browse files Browse the repository at this point in the history
Correct the name of wrapper from `ftstat()` to `fstat()`.

Signed-off-by: Andrei Adrian Ragman <[email protected]>
  • Loading branch information
andrei811 authored and teodutu committed Dec 12, 2024
1 parent 8ed7087 commit b7a2314
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ int main(int argc, char *argv[])
* of the output file to the size of the input file.
*/

/* TODO 2: Use ftstat() to get the size of the input file. */
/* TODO 2: Use fstat() to get the size of the input file. */
rc = fstat(fdin, &statbuf);
DIE(rc < 0, "fstat");

Expand Down

0 comments on commit b7a2314

Please sign in to comment.