diff --git a/modules/file-API.md b/modules/file-API.md index b8d40de8..fed24aac 100644 --- a/modules/file-API.md +++ b/modules/file-API.md @@ -28,7 +28,7 @@ if ((fp = fopen("/etc/passwd", "r")) == NULL) /* process the file... */ if (fclose(fp) != 0) - err(1, "fclose failed"); + err(1, "fclose"); ``` - The `b` binary mode usually does not have any effect.