diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2021-06-01 18:33:29 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2021-06-01 18:33:29 +0200 |
commit | bb25cc51a8d31f96bb8b63c2bf632f195068330a (patch) | |
tree | 5b48491353ad88e22e87f13a351f825b27c0c0a6 | |
parent | 55ac2338fcf5c3f2f3f812fd53063ce58aa38a49 (diff) |
sfeed_gopher: unveil: show path when it failed
-rw-r--r-- | sfeed_gopher.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfeed_gopher.c b/sfeed_gopher.c index 606e452..9e8e10a 100644 --- a/sfeed_gopher.c +++ b/sfeed_gopher.c @@ -130,9 +130,9 @@ main(int argc, char *argv[]) err(1, "pledge"); } else { if (unveil("/", "r") == -1) - err(1, "unveil"); + err(1, "unveil: /"); if (unveil(".", "rwc") == -1) - err(1, "unveil"); + err(1, "unveil: ."); if (pledge("stdio rpath wpath cpath", NULL) == -1) err(1, "pledge"); } |