Problem passing array to a function

uptime is expecting you to pass it an array element and you have passed it a standard int.