Use a separate variable for the size passed to sysctl.