Correct a last-minute thinko.  Instead of copying the nul with the string, nul-terminate the dp->d_name directly and only copy the string.
Correct a last-minute thinko.  Instead of copying the nul with the string,
nul-terminate the dp->d_name directly and only copy the string.

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