[stgt] [PATCH] Fix parameter of system_state_name()
Arne Redlich
arne.redlich at googlemail.com
Wed Apr 20 22:24:54 CEST 2011
target.c: In function ‘system_state_name’:
target.c:1997:29: warning: comparison between ‘enum tgt_system_state’ and ‘enum scsi_target_state’
Signed-off-by: Arne Redlich <arne.redlich at googlemail.com>
---
usr/target.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/usr/target.c b/usr/target.c
index b8b8715..d5e1958 100644
--- a/usr/target.c
+++ b/usr/target.c
@@ -1988,7 +1988,7 @@ static struct {
{TGT_SYSTEM_READY, "ready"},
};
-static char *system_state_name(enum scsi_target_state state)
+static char *system_state_name(enum tgt_system_state state)
{
int i;
char *name = NULL;
--
1.7.4.1
--
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