modent
"display information about a mod_hash_entry", modent,
extern int modent(uintptr_t, uint_t, int, const mdb_arg_t *);
struct devtabent *modent; /* Entry being modified */
if (modent = _getdevrec(device)) {
if (modent->cdevice) {
free(modent->cdevice);
modent->cdevice = NULL;
if (modent->bdevice) {
free(modent->bdevice);
modent->bdevice = NULL;
if (modent->pathname) {
free(modent->pathname);
modent->pathname = NULL;
if ((attrval = modent->attrlist) != NULL) do {
modent->attrlist = attrval->next;
attrval = modent->attrlist;
if (devtabent->entryno != modent->entryno)
else nobaderr = _putdevtabrec(fd, modent) != EOF;
_freedevtabent(modent);