From d9e26d3b94e0c7e874fedcf9cf578be7e9c8389b Mon Sep 17 00:00:00 2001 From: Lee Duncan Date: Wed, 26 Jun 2013 11:57:39 -0700 Subject: 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 --- include/iscsi_err.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') 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, -- cgit v1.2.1