summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ctld/ctld.h
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2014-02-11 11:14:50 +0000
committertrasz <trasz@FreeBSD.org>2014-02-11 11:14:50 +0000
commite8652707f05061e2c2607331bed4ef700b30f854 (patch)
tree91e9cda643335d8ec017600a149a11ebd6f8e2d2 /usr.sbin/ctld/ctld.h
parent5f228e3b08b9de96f7592b6872658901ca4b5b31 (diff)
downloadFreeBSD-src-e8652707f05061e2c2607331bed4ef700b30f854.zip
FreeBSD-src-e8652707f05061e2c2607331bed4ef700b30f854.tar.gz
Rename a variable, no functional changes.
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'usr.sbin/ctld/ctld.h')
-rw-r--r--usr.sbin/ctld/ctld.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ctld/ctld.h b/usr.sbin/ctld/ctld.h
index 1b1b30d..127f1f4 100644
--- a/usr.sbin/ctld/ctld.h
+++ b/usr.sbin/ctld/ctld.h
@@ -131,7 +131,7 @@ struct target {
struct conf *t_conf;
struct auth_group *t_auth_group;
struct portal_group *t_portal_group;
- char *t_iqn;
+ char *t_name;
char *t_alias;
};
@@ -224,10 +224,10 @@ struct portal_group *portal_group_find(struct conf *conf, const char *name);
int portal_group_add_listen(struct portal_group *pg,
const char *listen, bool iser);
-struct target *target_new(struct conf *conf, const char *iqn);
+struct target *target_new(struct conf *conf, const char *name);
void target_delete(struct target *target);
struct target *target_find(struct conf *conf,
- const char *iqn);
+ const char *name);
struct lun *lun_new(struct target *target, int lun_id);
void lun_delete(struct lun *lun);
OpenPOWER on IntegriCloud