Print this page
file: support DT_SUNW_KMOD usefully
@@ -1328,10 +1328,14 @@
/* Print Version */
if (version == 1)
(void) printf(" %s %d", gettext("Version"), version);
+ if (EInfo.kmod) {
+ (void) printf(", %s", gettext("kernel module"));
+ }
+
/* Print Flags */
print_elf_flags(EInfo);
/* Last bit, if it is a core */
if (EInfo.core_type != EC_NOTCORE) {
@@ -1481,13 +1485,14 @@
return (0);
}
return (1);
}
+/* look for "1hddddd" where d is a digit */
static int
sccs(void)
-{ /* look for "1hddddd" where d is a digit */
+{
register int j;
if (fbuf[0] == 1 && fbuf[1] == 'h') {
for (j = 2; j <= 6; j++) {
if (isdigit(fbuf[j]))