diff --git a/sbin/reboot/reboot.c b/sbin/reboot/reboot.c index a087be7bbf23..705dae6fae5e 100644 --- a/sbin/reboot/reboot.c +++ b/sbin/reboot/reboot.c @@ -275,7 +275,7 @@ get_pageins(void) len = sizeof(pageins); if (sysctlbyname("vm.stats.vm.v_swappgsin", &pageins, &len, NULL, 0) != 0) { - warnx("v_swappgsin"); + warn("v_swappgsin"); return (0); } return (pageins);