From b4fe1f9ecc338294f0cec71ef718d81c53766c33 Mon Sep 17 00:00:00 2001 From: brooks Date: Tue, 19 May 2015 19:01:52 +0000 Subject: MFC r282436 (the portion that makes sense): Remove "capability mode sandbox enabled" messages. These messages serve little purpose and break some consumers. PR: 199855 Differential Revision: https://reviews.freebsd.org/D2440 Reviewed by: rwatson Approved by: pjd Sponsored by: DARPA, AFRL --- contrib/tcpdump/tcpdump.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'contrib/tcpdump') diff --git a/contrib/tcpdump/tcpdump.c b/contrib/tcpdump/tcpdump.c index d5dae16..511e1af 100644 --- a/contrib/tcpdump/tcpdump.c +++ b/contrib/tcpdump/tcpdump.c @@ -1618,8 +1618,6 @@ main(int argc, char **argv) cansandbox = (nflag && VFileName == NULL && zflag == NULL); if (cansandbox && cap_enter() < 0 && errno != ENOSYS) error("unable to enter the capability mode"); - if (cap_sandboxed()) - fprintf(stderr, "capability mode sandbox enabled\n"); #endif /* __FreeBSD__ */ do { -- cgit v1.1