1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-02 08:42:48 +00:00

memcmp -> bmcp

Submitted by:	smp, bde
This commit is contained in:
Mike Smith 1997-08-05 01:38:19 +00:00
parent f2adc8bb27
commit c7a2b294f0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=27906
2 changed files with 4 additions and 4 deletions

View File

@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: bios.c,v 1.1 1997/08/01 06:07:11 msmith Exp $
* $Id: bios.c,v 1.2 1997/08/04 03:29:05 msmith Exp $
*/
/*
@ -219,7 +219,7 @@ bios_sigsearch(u_int32_t start, u_char *sig, int siglen, int paralen, int sigofs
while ((sp + sigofs + siglen) < end) {
/* compare here */
if (!memcmp(sp + sigofs, sig, siglen)) {
if (!bcmp(sp + sigofs, sig, siglen)) {
/* convert back to physical address */
return((u_int32_t)BIOS_VADDRTOPADDR(sp));
}

View File

@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: bios.c,v 1.1 1997/08/01 06:07:11 msmith Exp $
* $Id: bios.c,v 1.2 1997/08/04 03:29:05 msmith Exp $
*/
/*
@ -219,7 +219,7 @@ bios_sigsearch(u_int32_t start, u_char *sig, int siglen, int paralen, int sigofs
while ((sp + sigofs + siglen) < end) {
/* compare here */
if (!memcmp(sp + sigofs, sig, siglen)) {
if (!bcmp(sp + sigofs, sig, siglen)) {
/* convert back to physical address */
return((u_int32_t)BIOS_VADDRTOPADDR(sp));
}