diff --git a/chapters/io/file-descriptors/drills/tasks/mmap_cp/solution/src/mmap_cp.c b/chapters/io/file-descriptors/drills/tasks/mmap_cp/solution/src/mmap_cp.c index 9d306b7a43..d65a250f7b 100644 --- a/chapters/io/file-descriptors/drills/tasks/mmap_cp/solution/src/mmap_cp.c +++ b/chapters/io/file-descriptors/drills/tasks/mmap_cp/solution/src/mmap_cp.c @@ -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");