Print this page
Fixes to allow compilation on OmniOS and OI
OS-478 -- lint
@@ -2609,11 +2609,10 @@
boolean_t in_alt_root;
zone_iptype_t iptype;
dladm_handle_t dh;
dladm_status_t status;
datalink_id_t linkid;
- char errmsg[DLADM_STRSIZE];
in_alt_root = zonecfg_in_alt_root();
if (in_alt_root)
goto no_net;
@@ -2631,10 +2630,11 @@
}
while (zonecfg_getnwifent(handle, &nwiftab) == Z_OK) {
struct lifreq lifr;
sa_family_t af = AF_UNSPEC;
char dl_owner_zname[ZONENAME_MAX];
+ char errmsg[DLADM_STRSIZE];
zoneid_t dl_owner_zid;
zoneid_t target_zid;
int res;
/* skip any loopback interfaces */