diff options
author | Lee Duncan <lduncan@suse.com> | 2013-06-26 11:57:39 -0700 |
---|---|---|
committer | Mike Christie <michaelc@cs.wisc.edu> | 2013-06-26 17:15:27 -0500 |
commit | d9e26d3b94e0c7e874fedcf9cf578be7e9c8389b (patch) | |
tree | e6105c995bc68f4ea05be9ba874f0e315200c848 /include | |
parent | 9a2bc3844106a4c1b860f7b7656fcd3d1bb824c9 (diff) | |
download | open-iscsi-d9e26d3b94e0c7e874fedcf9cf578be7e9c8389b.tar.gz |
Fix discovery error return without return value
openSUSE Build Service compiler noticed that one discovery
error path did not have a return value, so an appropriate
error is now being returned.
Signed-of-by: Lee Duncan <lduncan@suse.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/iscsi_err.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/iscsi_err.h b/include/iscsi_err.h index 1139133..125f443 100644 --- a/include/iscsi_err.h +++ b/include/iscsi_err.h @@ -64,6 +64,8 @@ enum { ISCSI_ERR_BUSY = 28, /* Operation failed, but retrying layer may succeed */ ISCSI_ERR_AGAIN = 29, + /* unknown discovery type */ + ISCSI_ERR_UNKNOWN_DISCOVERY_TYPE = 30, /* Always last. Indicates end of error code space */ ISCSI_MAX_ERR_VAL, |