diff mbox series

security: fix misspellings using codespell tool

Message ID 20210318120017.474770-1-xiong.zhenwu@zte.com.cn (mailing list archive)
State New
Headers show
Series security: fix misspellings using codespell tool | expand

Commit Message

Menglong Dong March 18, 2021, noon UTC
From: Xiong Zhenwu <xiong.zhenwu@zte.com.cn>

A typo is found out by codespell tool:

$ codespell ./security

./security/commoncap.c:1135: capabilties  ==> capabilities

Fix a typo found by codespell.

Signed-off-by: Xiong Zhenwu <xiong.zhenwu@zte.com.cn>
---
 security/commoncap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/security/commoncap.c b/security/commoncap.c
index 1c519c875217..598d077572c0 100644
--- a/security/commoncap.c
+++ b/security/commoncap.c
@@ -1132,7 +1132,7 @@  int cap_task_fix_setuid(struct cred *new, const struct cred *old, int flags)
 		break;
 
 	case LSM_SETID_FS:
-		/* juggle the capabilties to follow FSUID changes, unless
+		/* juggle the capabilities to follow FSUID changes, unless
 		 * otherwise suppressed
 		 *
 		 * FIXME - is fsuser used for all CAP_FS_MASK capabilities?