summaryrefslogtreecommitdiff
path: root/sys/modules/linux
diff options
context:
space:
mode:
authorMike Smith <msmith@FreeBSD.org>1998-09-17 22:08:34 +0000
committerMike Smith <msmith@FreeBSD.org>1998-09-17 22:08:34 +0000
commit4e138a28a0b874191807603da74148b06b4167d3 (patch)
treefd8487d10919ad50d076c030fbfd5f02a4589db2 /sys/modules/linux
parentf7d09fba58ff051806230251b54df970551f6997 (diff)
Notes
Diffstat (limited to 'sys/modules/linux')
-rw-r--r--sys/modules/linux/linux.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/modules/linux/linux.c b/sys/modules/linux/linux.c
index 405517364818..11898c3121fe 100644
--- a/sys/modules/linux/linux.c
+++ b/sys/modules/linux/linux.c
@@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: linux.c,v 1.11 1997/04/06 10:47:59 dufault Exp $
+ * $Id: linux.c,v 1.12 1997/05/01 06:08:14 jkh Exp $
*/
#include <sys/param.h>
@@ -41,12 +41,13 @@ extern const struct execsw linux_execsw;
MOD_EXEC(linux, -1, &linux_execsw);
-extern Elf32_Brandinfo linux_brand;
+extern Elf32_Brandinfo linux_brand, linux_glibc2brand;
static int
linux_load(struct lkm_table *lkmtp, int cmd)
{
- if (elf_insert_brand_entry(&linux_brand))
+ if ((elf_insert_brand_entry(&linux_brand)) ||
+ (elf_insert_brand_entry(&linux_glibc2brand)))
uprintf("Could not install ELF interpreter entry\n");
/* uprintf("Linux emulator installed\n"); XXX - shut up, you! */
return 0;