vector_foreach_slot (pathvec, pp, i) {
if (!strncmp(mpp->wwid, pp->wwid, WWID_SIZE)) {
- condlog(3, "%s ownership set to %s",
- pp->dev_t, mpp->alias);
+ condlog(3, "%s: ownership set to %s",
+ pp->dev, mpp->alias);
pp->mpp = mpp;
if (!mpp->paths && !(mpp->paths = vector_alloc()))
vector_foreach_slot (pathvec, pp, i) {
if (pp->mpp == mpp) {
- condlog(4, "%s is orphaned", pp->dev_t);
+ condlog(4, "%s: orphaned", pp->dev);
orphan_path(pp);
}
}
#define CMDSIZE 160
#define LOG_MSG(a,b) \
- if (strlen(b)) condlog(a, "%s: %s", pp->dev_t, b);
+ if (strlen(b)) condlog(a, "%s: %s", pp->dev, b);
pthread_cond_t exit_cond = PTHREAD_COND_INITIALIZER;
pthread_mutex_t exit_mutex = PTHREAD_MUTEX_INITIALIZER;
}
sync_map_state(mpp);
- condlog(3, "%s path removed from devmap %s",
+ condlog(3, "%s: path removed from map %s",
devname, mpp->alias);
}
free_pathvec(rpvec, KEEP_PATHS);