Fixing a potential uptime bug on FreeBSD.