summaryrefslogtreecommitdiffstats
path: root/edit.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>2001-01-08 16:13:57 +0000
committerThomas Roessler <roessler@does-not-exist.org>2001-01-08 16:13:57 +0000
commit9fd7da6f29476ae9333723b6f58727b58d57661e (patch)
tree98912ae7612b5c6d6050b7085d59a1e9270a4903 /edit.c
parentb79d7d35fa86b1c5a60a5ff4f4bba8851344a5b7 (diff)
Some automated security checks concerning fopen() calls.
Diffstat (limited to 'edit.c')
-rw-r--r--edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/edit.c b/edit.c
index e8ef3559..57cb82c0 100644
--- a/edit.c
+++ b/edit.c
@@ -114,7 +114,7 @@ static int be_barf_file (const char *path, char **buf, int buflen)
FILE *f;
int i;
- if ((f = fopen (path, "w")) == NULL)
+ if ((f = fopen (path, "w")) == NULL) /* __FOPEN_CHECKED__ */
{
addstr (strerror (errno));
addch ('\n');