From afc37a84338ea7e18c26f8a8b49cb0da8cdb9e8d Mon Sep 17 00:00:00 2001 From: rpaulo Date: Wed, 3 Aug 2005 22:59:50 +0000 Subject: [PATCH] Fix another typo in comments found by Ricardo Nabinger Sanchez on the freebsd-arch mailing list. --- lib/libc/arch/i386/string/strncmp.S | 4 ++-- lib/libc/arch/x86_64/string/strncmp.S | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/libc/arch/i386/string/strncmp.S b/lib/libc/arch/i386/string/strncmp.S index d0e296d07a17..45b1ce21ff28 100644 --- a/lib/libc/arch/i386/string/strncmp.S +++ b/lib/libc/arch/i386/string/strncmp.S @@ -6,7 +6,7 @@ #include #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 diff --git a/lib/libc/arch/x86_64/string/strncmp.S b/lib/libc/arch/x86_64/string/strncmp.S index 7520ac473c72..7e1db1067875 100644 --- a/lib/libc/arch/x86_64/string/strncmp.S +++ b/lib/libc/arch/x86_64/string/strncmp.S @@ -6,7 +6,7 @@ #include #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