summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2017-03-20 19:24:16 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2017-03-20 19:24:16 +0000
commit5bbffb004959bd246d741c83ee8856b25654d306 (patch)
treed538889873109549564d8d4c07055b21d8252c11 /usr.bin
parent7404367b95932d5d7595a6130bdacd41c1bc00bf (diff)
downloadsrc-test2-5bbffb004959bd246d741c83ee8856b25654d306.tar.gz
src-test2-5bbffb004959bd246d741c83ee8856b25654d306.zip
Notes
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/diff/diffreg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/diff/diffreg.c b/usr.bin/diff/diffreg.c
index f4199a449768..c9b8edf6e02e 100644
--- a/usr.bin/diff/diffreg.c
+++ b/usr.bin/diff/diffreg.c
@@ -440,6 +440,7 @@ diffreg(char *file1, char *file2, int flags, int capsicum)
err(2, "unable to limit stdio");
caph_cache_catpages();
+ caph_cache_tzdata();
if (cap_enter() < 0 && errno != ENOSYS)
err(2, "unable to enter capability mode");
}