Make sure to return 0 from kernel_getnfile() since if there were an error, it would exit() (and it needs to return a value).
Make sure to return 0 from kernel_getnfile() since if there were an
error, it would exit() (and it needs to return a value).

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase