Show also code in error message in statfs loop