fixed the stat, appended path to dir
Merge branch 'master' of https://github.com/Scorpio750/Systems-Programming
le merge is here