Skip to content

Commit

Permalink
Error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
janpgit committed Apr 7, 2024
1 parent ed9e140 commit 86f806a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/file-API.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 86f806a

Please sign in to comment.