A function returning free disk space used to work for years.
Problems started after the hard drive was upgraded.
The structure of the program is as following:
int free_space (hard drive)
What do you think might be the problem?
Small hard drive was OK for INT size.