Print this page
file: support DT_SUNW_KMOD usefully
*** 1328,1337 ****
--- 1328,1341 ----
/* 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,1493 ****
return (0);
}
return (1);
}
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]))
--- 1485,1498 ----
return (0);
}
return (1);
}
+ /* look for "1hddddd" where d is a digit */
static int
sccs(void)
! {
register int j;
if (fbuf[0] == 1 && fbuf[1] == 'h') {
for (j = 2; j <= 6; j++) {
if (isdigit(fbuf[j]))