summaryrefslogtreecommitdiff
path: root/sfeed_frames.c
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2016-02-28 18:52:36 +0100
committerHiltjo Posthuma <hiltjo@codemadness.org>2016-02-28 18:52:36 +0100
commit99bc54667e5fee954252cdae19ec4e62dfdca12d (patch)
treeb7b31279f796d6b4a38d0fdfe2fc86b0628d9e5f /sfeed_frames.c
parent4e505a8eccafe3defaf0e491ec6c347ee0e87830 (diff)
sfeed_frames: add fattr to pledge...
... it did not abort, but set it anyway. I think cpath implies fattr, it makes sense.
Diffstat (limited to 'sfeed_frames.c')
-rw-r--r--sfeed_frames.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfeed_frames.c b/sfeed_frames.c
index 3411187..36655a8 100644
--- a/sfeed_frames.c
+++ b/sfeed_frames.c
@@ -232,7 +232,7 @@ main(int argc, char *argv[])
int i;
struct feed *f;
- if (pledge("stdio rpath wpath cpath", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath fattr", NULL) == -1)
err(1, "pledge");
if (!(feeds = calloc(argc, sizeof(struct feed *))))