diff --git a/sbin/adjkerntz/adjkerntz.c b/sbin/adjkerntz/adjkerntz.c index 2fde545ebf32..e6cadcf7f189 100644 --- a/sbin/adjkerntz/adjkerntz.c +++ b/sbin/adjkerntz/adjkerntz.c @@ -46,7 +46,6 @@ __FBSDID("$FreeBSD$"); * with Garrett Wollman and Bruce Evans fixes. * */ -#include #include #include #include @@ -160,12 +159,6 @@ main(int argc, char *argv[]) len = sizeof(kern_offset); if (sysctlbyname("machdep.adjkerntz", &kern_offset, &len, NULL, 0) == -1) { - if (errno == EPERM && !init && geteuid() == 0) - /* - * Surplus call from jailed root crontab. - * Avoid spamming logs. - */ - return 1; syslog(LOG_ERR, "sysctl(\"machdep.adjkerntz\"): %m"); return 1; }