libusbgx: Add USBG_ERROR_NOT_EMPTY error code
authorPawel Szewczyk <p.szewczyk@samsung.com>
Mon, 6 Jul 2015 11:13:57 +0000 (13:13 +0200)
committerKrzysztof Opasiak <k.opasiak@samsung.com>
Tue, 22 Dec 2015 20:45:37 +0000 (21:45 +0100)
commit943835a0e708226f8edfe9d1adffccde69e8762d
tree631f6051767081db61970c955648dd1889fefe49
parentca8120c2aacf7e8c0393a44b2af9c5a046c2881a
libusbgx: Add USBG_ERROR_NOT_EMPTY error code

ENOTEMPTY error is common when removing configfs objects. This commit
adds proper error message and internal usbg error code for this
situation.

Signed-off-by: Pawel Szewczyk <p.szewczyk@samsung.com>
[Update description]
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
include/usbg/usbg.h
src/usbg.c