Fix typo in API

Signed-off-by: Vojtech Vitek (V-Teq) <vvitek@redhat.com>
Merge pull request #832 from VojtechVitek/api_typo

Fix typo in API