commit 99bc54667e5fee954252cdae19ec4e62dfdca12d
parent 4e505a8eccafe3defaf0e491ec6c347ee0e87830
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 28 Feb 2016 18:52:36 +0100
sfeed_frames: add fattr to pledge...
... it did not abort, but set it anyway. I think cpath implies
fattr, it makes sense.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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 *))))