Message ID | 5166C66F.6040508@dev.mellanox.co.il (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Hal Rosenstock |
Headers | show |
diff --git a/opensm/osm_console_io.c b/opensm/osm_console_io.c index 167562c..18bd5ef 100644 --- a/opensm/osm_console_io.c +++ b/opensm/osm_console_io.c @@ -164,8 +164,8 @@ int is_authorized(osm_console_t * p_oct) { /* allowed to use the console? */ p_oct->authorized = !is_remote(p_oct->client_type) || - hosts_ctl(OSM_DAEMON_NAME, p_oct->client_hn, p_oct->client_ip, - "STRING_UNKNOWN"); + hosts_ctl((char *)OSM_DAEMON_NAME, p_oct->client_hn, p_oct->client_ip, + (char *)"STRING_UNKNOWN"); return p_oct->authorized; } #endif