Thread (14 messages) flat view 14 messages, 4 authors, 2016-06-15
DORMANTno replies

[PATCH 04/10] obstack: fix spelling of similar

From: Jonathan Nieder <hidden>
Date: 2016-06-15 22:56:48
Subsystem: the rest · Maintainer: Linus Torvalds

From: Stefano Lattarini <redacted>
Date: Fri, 12 Apr 2013 00:36:10 +0200

Noticed using Lucas De Marchi's codespell tool.

Signed-off-by: Stefano Lattarini <redacted>
Signed-off-by: Jonathan Nieder <redacted>
---
Would it be more useful to fix this in glibc and import from there?

 compat/obstack.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/compat/obstack.h b/compat/obstack.h
index d178bd67..ceb4bdbc 100644
--- a/compat/obstack.h
+++ b/compat/obstack.h
@@ -128,7 +128,7 @@ extern "C" {
 
 #define __BPTR_ALIGN(B, P, A) ((B) + (((P) - (B) + (A)) & ~(A)))
 
-/* Similiar to _BPTR_ALIGN (B, P, A), except optimize the common case
+/* Similar to _BPTR_ALIGN (B, P, A), except optimize the common case
    where pointers can be converted to integers, aligned as integers,
    and converted back again.  If PTR_INT_TYPE is narrower than a
    pointer (e.g., the AS/400), play it safe and compute the alignment
-- 
1.8.2.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help