commit bb25cc51a8d31f96bb8b63c2bf632f195068330a
parent 55ac2338fcf5c3f2f3f812fd53063ce58aa38a49
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 1 Jun 2021 18:33:29 +0200
sfeed_gopher: unveil: show path when it failed
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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");
}