colrm(1): Capsicumise

Signed-off-by: Faraz Vahedi <[email protected]>
Reviewed by:	markj, oshogbo
MFC after:	1 week
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1496
This commit is contained in:
Faraz Vahedi authored and Mariusz Zaborski committed 2024-11-27 13:22:50 +01:00
1 parent fc26f24b3e
commit 95498a5acc
1 file changed
+6
+6
View File
@@ -40,6 +40,8 @@
#include <unistd.h>
#include <wchar.h>
#include <capsicum_helpers.h>
#define TAB 8
void check(FILE *);
@@ -54,6 +56,10 @@ main(int argc, char *argv[])
setlocale(LC_ALL, "");
caph_cache_catpages();
if (caph_limit_stdio() < 0 || caph_enter() < 0)
err(EXIT_FAILURE, "capsicum");
while ((ch = getopt(argc, argv, "")) != -1)
switch(ch) {
case '?':