1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-29 08:08:37 +00:00

pom: Remove useless cap_rights_init

Pointy-Hat:	manu

Reported by:	bapt
This commit is contained in:
Emmanuel Vadot 2017-04-19 20:35:04 +00:00
parent 3756a6d8f8
commit 041ec0d284
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=317166

View File

@ -86,7 +86,6 @@ static void usage(char *progname);
int
main(int argc, char **argv)
{
cap_rights_t rights;
time_t tt;
struct tm GMT, tmd;
double days, today, tomorrow;
@ -96,7 +95,6 @@ main(int argc, char **argv)
if (caph_limit_stdio() < 0)
err(1, "unable to limit capabitilities for stdio");
cap_rights_init(&rights, CAP_WRITE);
caph_cache_catpages();
if (cap_enter() < 0 && errno != ENOSYS)