[stgt] [PATCH 05/15] Make tgtadm_errno -> string conversion less error prone
FUJITA Tomonori
fujita.tomonori at lab.ntt.co.jp
Fri Jun 12 04:35:49 CEST 2009
On Tue, 09 Jun 2009 18:22:08 +0200
Arne Redlich <arne.redlich at googlemail.com> wrote:
> Avoid segfaults due to invalid tgtadm error codes and make the error code ->
> string mapping more explicit at the same time (changing the order of error
> codes won't lead to wrong conversions).
>
> Signed-off-by: Arne Redlich <arne.redlich at googlemail.com>
> ---
> usr/tgtadm.c | 64 ++++++++++++++++++++++++++++++++++-----------------------
> 1 files changed, 38 insertions(+), 26 deletions(-)
Applied, thanks.
We really need to clean up the error codes.
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
More information about the stgt
mailing list