Commit Diff


commit - 4b877649af0f6237f46cf7d033fc896aa7cf8ca6
commit + fd0beb5314ccdf3ae1b4a9ab0b8b5279a6e1dac0
blob - be90c6eac055f1d4c56762e1d6655255bffed9cd
blob + 97ffd1da7cadf630624d09ed379240f3c37acaf7
--- sandbox.c
+++ sandbox.c
@@ -49,16 +49,16 @@ sandbox_fs_process(void)
 	strlcpy(path, getenv("HOME"), sizeof(path));
 	strlcat(path, "/Downloads", sizeof(path));
 	if (unveil(path, "rwc") == -1)
-		err(1, "unveil");
+		err(1, "unveil(%s)", path);
 
 	if (unveil(config_path_base, "rwc") == -1)
-		err(1, "unveil");
+		err(1, "unveil(%s)", config_path_base);
 
 	if (unveil(data_path_base, "rwc") == -1)
-		err(1, "unveil");
+		err(1, "unveil(%s)", data_path_base);
 
 	if (unveil(cache_path_base, "rwc") == -1)
-		err(1, "unveil");
+		err(1, "unveil(%s)", cache_path_base);
 
 	if (pledge("stdio rpath wpath cpath sendfd", NULL) == -1)
 		err(1, "pledge");