diff mbox series

apparmor: fix spelling mistake "immutible" -> "immutable"

Message ID 20190416144218.1842-1-colin.king@canonical.com (mailing list archive)
State New, archived
Headers show
Series apparmor: fix spelling mistake "immutible" -> "immutable" | expand

Commit Message

Colin King April 16, 2019, 2:42 p.m. UTC
From: Colin Ian King <colin.king@canonical.com>

There is a spelling mistake in an information message string, fix it.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 security/apparmor/policy.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

John Johansen April 16, 2019, 7:56 p.m. UTC | #1
On 4/16/19 7:42 AM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> There is a spelling mistake in an information message string, fix it.
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Acked-by: John Johansen <john.johansen@canonical.com>

I'll pull it into the apparmor tree


> ---
>  security/apparmor/policy.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/security/apparmor/policy.c b/security/apparmor/policy.c
> index 71a3e6291478..04f2480e8374 100644
> --- a/security/apparmor/policy.c
> +++ b/security/apparmor/policy.c
> @@ -587,7 +587,7 @@ static int replacement_allowed(struct aa_profile *profile, int noreplace,
>  {
>  	if (profile) {
>  		if (profile->label.flags & FLAG_IMMUTIBLE) {
> -			*info = "cannot replace immutible profile";
> +			*info = "cannot replace immutable profile";
>  			return -EPERM;
>  		} else if (noreplace) {
>  			*info = "profile already exists";
>
diff mbox series

Patch

diff --git a/security/apparmor/policy.c b/security/apparmor/policy.c
index 71a3e6291478..04f2480e8374 100644
--- a/security/apparmor/policy.c
+++ b/security/apparmor/policy.c
@@ -587,7 +587,7 @@  static int replacement_allowed(struct aa_profile *profile, int noreplace,
 {
 	if (profile) {
 		if (profile->label.flags & FLAG_IMMUTIBLE) {
-			*info = "cannot replace immutible profile";
+			*info = "cannot replace immutable profile";
 			return -EPERM;
 		} else if (noreplace) {
 			*info = "profile already exists";