Style cleanups, use M_ZERO instead of bzero, unify the !semaphore and semaphore return paths.
Style cleanups, use M_ZERO instead of bzero, unify the !semaphore and
semaphore return paths.

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