about summary refs log tree commit diff
path: root/sysdeps/arm/armv6/strrchr.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/arm/armv6/strrchr.S')
-rw-r--r--sysdeps/arm/armv6/strrchr.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/arm/armv6/strrchr.S b/sysdeps/arm/armv6/strrchr.S
index 2b91e7abcc..e91fd38650 100644
--- a/sysdeps/arm/armv6/strrchr.S
+++ b/sysdeps/arm/armv6/strrchr.S
@@ -1,4 +1,4 @@
-/* strrchr -- find the last occurence of C in a nul-terminated string
+/* strrchr -- find the last occurrence of C in a nul-terminated string
    Copyright (C) 2013-2023 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -40,7 +40,7 @@ ENTRY (strrchr)
 	cmp	r2, #0			@ Find EOS
 	it	eq
 	bxeq	lr
-	tst	r3, #7			@ Find the aligment point
+	tst	r3, #7			@ Find the alignment point
 	bne	1b
 
 	@ So now we're aligned.  Now we actually need a stack frame.