Changeset View
Changeset View
Standalone View
Standalone View
head/sbin/devmatch/devmatch.c
Show First 20 Lines • Show All 380 Lines • ▼ Show 20 Lines | case MDT_PNP_INFO: | ||||
} while (cp && *cp); | } while (cp && *cp); | ||||
if (dump_flag) | if (dump_flag) | ||||
printf("\n"); | printf("\n"); | ||||
else if (!notme) { | else if (!notme) { | ||||
if (!unbound_flag) { | if (!unbound_flag) { | ||||
if (all_flag) | if (all_flag) | ||||
printf("%s: %s", *dev ? dev : "unattached", lastmod); | printf("%s: %s", *dev ? dev : "unattached", lastmod); | ||||
else | else | ||||
printf("%s", lastmod); | printf("%s\n", lastmod); | ||||
if (verbose_flag) | if (verbose_flag) | ||||
printf("Matches --- %s ---\n", lastmod); | printf("Matches --- %s ---\n", lastmod); | ||||
} | } | ||||
found++; | found++; | ||||
} | } | ||||
} | } | ||||
break; | break; | ||||
default: | default: | ||||
▲ Show 20 Lines • Show All 199 Lines • Show Last 20 Lines |