diff options
author | Dmitry Chagin <dchagin@FreeBSD.org> | 2021-07-20 07:05:08 +0000 |
---|---|---|
committer | Dmitry Chagin <dchagin@FreeBSD.org> | 2021-07-20 07:05:08 +0000 |
commit | ae8330b44868b260267d850fbd003a11d01c9444 (patch) | |
tree | 17d6e5cd6b834bded0aefd62e6b227ffc687aef0 | |
parent | fe7409530c5420c739aee72b3dfd036c05628a2c (diff) | |
download | src-ae8330b44868b260267d850fbd003a11d01c9444.tar.gz src-ae8330b44868b260267d850fbd003a11d01c9444.zip |
linux(4): Add arch name to the some printfs.
Reviewed by: emaste
Differential revision: https://reviews.freebsd.org/D30904
MFC after: 2 weeks
-rw-r--r-- | sys/amd64/linux/linux_sysvec.c | 4 | ||||
-rw-r--r-- | sys/amd64/linux32/linux32_sysvec.c | 8 | ||||
-rw-r--r-- | sys/arm64/linux/linux_sysvec.c | 4 |
3 files changed, 8 insertions, 8 deletions
diff --git a/sys/amd64/linux/linux_sysvec.c b/sys/amd64/linux/linux_sysvec.c index 2a429f323682..fbc397ec139e 100644 --- a/sys/amd64/linux/linux_sysvec.c +++ b/sys/amd64/linux/linux_sysvec.c @@ -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); diff --git a/sys/amd64/linux32/linux32_sysvec.c b/sys/amd64/linux32/linux32_sysvec.c index 38b777fb5629..5176029605bf 100644 --- a/sys/amd64/linux32/linux32_sysvec.c +++ b/sys/amd64/linux32/linux32_sysvec.c @@ -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); diff --git a/sys/arm64/linux/linux_sysvec.c b/sys/arm64/linux/linux_sysvec.c index 247b6dc9fa3b..72621b4bbfbd 100644 --- a/sys/arm64/linux/linux_sysvec.c +++ b/sys/arm64/linux/linux_sysvec.c @@ -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); |