Fix another typo in comments found by Ricardo Nabinger Sanchez

on the freebsd-arch mailing list.
This commit is contained in:
rpaulo 2005-08-03 22:59:50 +00:00
parent 6b95067c33
commit afc37a8433
2 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@
#include <machine/asm.h>
#if defined(LIBC_SCCS)
RCSID("$NetBSD: strncmp.S,v 1.13 2003/07/26 19:24:35 salo Exp $")
RCSID("$NetBSD: strncmp.S,v 1.14 2005/08/03 22:59:50 rpaulo Exp $")
#endif
/*
@ -105,7 +105,7 @@ L2: jz L4 /* strings are equal */
je L1
_ALIGN_TEXT,0x90
L3: movzbl (%eax),%eax /* unsigned comparision */
L3: movzbl (%eax),%eax /* unsigned comparison */
movzbl (%ecx),%ecx
subl %ecx,%eax
popl %ebx

View File

@ -6,7 +6,7 @@
#include <machine/asm.h>
#if defined(LIBC_SCCS)
RCSID("$NetBSD: strncmp.S,v 1.2 2003/07/26 19:24:40 salo Exp $")
RCSID("$NetBSD: strncmp.S,v 1.3 2005/08/03 22:59:50 rpaulo Exp $")
#endif
/*
@ -99,7 +99,7 @@ L2: jz L4 /* strings are equal */
cmpb %al,(%rsi)
je L1
L3: movzbl (%rdi),%eax /* unsigned comparision */
L3: movzbl (%rdi),%eax /* unsigned comparison */
movzbl (%rsi),%ecx
subl %ecx,%eax
ret