diff options
author | Pawel Szewczyk <p.szewczyk@samsung.com> | 2015-07-06 13:13:57 +0200 |
---|---|---|
committer | Krzysztof Opasiak <k.opasiak@samsung.com> | 2015-08-19 14:29:49 +0200 |
commit | 514cfb156a6447a16ce668d00e66f1beee9da753 (patch) | |
tree | ff777da301fcc97998713dd40aa3595f2b92ad1c /include | |
parent | ff0eabc697b08dbbef5512497f4d234aada49f52 (diff) | |
download | libusbg-514cfb156a6447a16ce668d00e66f1beee9da753.tar.gz libusbg-514cfb156a6447a16ce668d00e66f1beee9da753.tar.bz2 libusbg-514cfb156a6447a16ce668d00e66f1beee9da753.zip |
libusbg: 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>
Reviewed-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/usbg/usbg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/usbg/usbg.h b/include/usbg/usbg.h index 6fee7e1..1080962 100644 --- a/include/usbg/usbg.h +++ b/include/usbg/usbg.h @@ -312,6 +312,7 @@ typedef enum { USBG_ERROR_MISSING_TAG = -12, USBG_ERROR_INVALID_TYPE = -13, USBG_ERROR_INVALID_VALUE = -14, + USBG_ERROR_NOT_EMPTY = -15, USBG_ERROR_OTHER_ERROR = -99 } usbg_error; |