Make fstat work with file arguments again after being broken by dev_t changes.  Thanks, Mr. Edwards!
Make fstat work with file arguments again after being broken by dev_t
changes.  Thanks, Mr. Edwards!

Submitted by:	Peter Edwards <peter.edwards@ireland.com>

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