Removed errno from buffer.c
Merge pull request #6 from AVSystem/issue-5

Removed errno from buffer.c