linux(4): Add arch name to the some printfs.

Reviewed by:		emaste
Differential revision:	https://reviews.freebsd.org/D30904
MFC after:		2 weeks
This commit is contained in:
Dmitry Chagin 2021-07-20 10:05:08 +03:00
parent fe7409530c
commit ae8330b448
3 changed files with 8 additions and 8 deletions

View File

@ -1040,9 +1040,9 @@ linux64_elf_modevent(module_t mod, int type, void *data)
SET_FOREACH(lihp, linux_ioctl_handler_set)
linux_ioctl_unregister_handler(*lihp);
if (bootverbose)
printf("Linux ELF exec handler removed\n");
printf("Linux x86_64 ELF exec handler removed\n");
} else
printf("Could not deinstall ELF interpreter entry\n");
printf("Could not deinstall Linux x86_64 ELF interpreter entry\n");
break;
default:
return (EOPNOTSUPP);

View File

@ -1184,9 +1184,9 @@ linux_elf_modevent(module_t mod, int type, void *data)
linux32_ioctl_register_handler(*lihp);
stclohz = (stathz ? stathz : hz);
if (bootverbose)
printf("Linux ELF exec handler installed\n");
printf("Linux i386 ELF exec handler installed\n");
} else
printf("cannot insert Linux ELF brand handler\n");
printf("cannot insert Linux i386 ELF brand handler\n");
break;
case MOD_UNLOAD:
for (brandinfo = &linux_brandlist[0]; *brandinfo != NULL;
@ -1203,9 +1203,9 @@ linux_elf_modevent(module_t mod, int type, void *data)
SET_FOREACH(lihp, linux_ioctl_handler_set)
linux32_ioctl_unregister_handler(*lihp);
if (bootverbose)
printf("Linux ELF exec handler removed\n");
printf("Linux i386 ELF exec handler removed\n");
} else
printf("Could not deinstall ELF interpreter entry\n");
printf("Could not deinstall Linux i386 ELF interpreter entry\n");
break;
default:
return (EOPNOTSUPP);

View File

@ -664,9 +664,9 @@ linux64_elf_modevent(module_t mod, int type, void *data)
SET_FOREACH(lihp, linux_ioctl_handler_set)
linux_ioctl_unregister_handler(*lihp);
if (bootverbose)
printf("Linux ELF exec handler removed\n");
printf("Linux arm64 ELF exec handler removed\n");
} else
printf("Could not deinstall ELF interpreter entry\n");
printf("Could not deinstall Linux arm64 ELF interpreter entry\n");
break;
default:
return (EOPNOTSUPP);