From 2e8a9de36cb3b1981b1e3703d55d95e59f428cba Mon Sep 17 00:00:00 2001 From: drochner Date: Thu, 20 Mar 2003 18:41:46 +0000 Subject: [PATCH] memcmp()->bcmp(), this gives us 32 bytes and makes bootxx_ffs build again --- sys/arch/pmax/stand/common/bootxx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/pmax/stand/common/bootxx.c b/sys/arch/pmax/stand/common/bootxx.c index 216435909a81..fda9c2beb2e2 100644 --- a/sys/arch/pmax/stand/common/bootxx.c +++ b/sys/arch/pmax/stand/common/bootxx.c @@ -1,4 +1,4 @@ -/* $NetBSD: bootxx.c,v 1.25 2002/12/09 12:14:10 jdolecek Exp $ */ +/* $NetBSD: bootxx.c,v 1.26 2003/03/20 18:41:46 drochner Exp $ */ /*- * Copyright (c) 1999 The NetBSD Foundation, Inc. @@ -182,7 +182,7 @@ loadfile(path, name) /* read the exec header */ i = read(fd, (char *)&ehdr, sizeof(ehdr)); if ((i != sizeof(ehdr)) || - (memcmp(ehdr.e_ident, ELFMAG, SELFMAG) != 0) || + (bcmp(ehdr.e_ident, ELFMAG, SELFMAG) != 0) || (ehdr.e_ident[EI_CLASS] != ELFCLASS32)) { printf("%s: No ELF header\n", bootfname); goto cerr;