Searched refs:tmp_ibdev_name (Results 1 – 1 of 1) sorted by relevance
164 char *tmp_ibdev_name = NULL; in sepol_ibendport_get_ibdev_name() local166 if (sepol_ibendport_alloc_ibdev_name(handle, &tmp_ibdev_name) < 0) in sepol_ibendport_get_ibdev_name()169 strncpy(tmp_ibdev_name, ibendport->ibdev_name, IB_DEVICE_NAME_MAX - 1); in sepol_ibendport_get_ibdev_name()170 *ibdev_name = tmp_ibdev_name; in sepol_ibendport_get_ibdev_name()174 free(tmp_ibdev_name); in sepol_ibendport_get_ibdev_name()