diff mbox series

libsepol: fix typo

Message ID 20210910121252.71710-1-toiwoton@gmail.com (mailing list archive)
State Accepted
Headers show
Series libsepol: fix typo | expand

Commit Message

Topi Miettinen Sept. 10, 2021, 12:12 p.m. UTC
Signed-off-by: Topi Miettinen <toiwoton@gmail.com>
---
 libsepol/src/module_to_cil.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

James Carter Sept. 10, 2021, 1:33 p.m. UTC | #1
On Fri, Sep 10, 2021 at 8:13 AM Topi Miettinen <toiwoton@gmail.com> wrote:
>
> Signed-off-by: Topi Miettinen <toiwoton@gmail.com>

Acked-by: James Carter <jwcart2@gmail.com>

> ---
>  libsepol/src/module_to_cil.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libsepol/src/module_to_cil.c b/libsepol/src/module_to_cil.c
> index 9c7e3d3a..3c8ba10a 100644
> --- a/libsepol/src/module_to_cil.c
> +++ b/libsepol/src/module_to_cil.c
> @@ -573,7 +573,7 @@ static int avrule_to_cil(int indent, struct policydb *pdb, uint32_t type, const
>                 rule = "auditallow";
>                 break;
>         case AVRULE_AUDITDENY:
> -               rule = "auditdenty";
> +               rule = "auditdeny";
>                 break;
>         case AVRULE_DONTAUDIT:
>                 rule = "dontaudit";
> --
> 2.30.2
>
Petr Lautrbach Sept. 13, 2021, 1:42 p.m. UTC | #2
James Carter <jwcart2@gmail.com> writes:

> On Fri, Sep 10, 2021 at 8:13 AM Topi Miettinen <toiwoton@gmail.com> wrote:
>>
>> Signed-off-by: Topi Miettinen <toiwoton@gmail.com>
>
> Acked-by: James Carter <jwcart2@gmail.com>

Merged, thanks!



>> ---
>>  libsepol/src/module_to_cil.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/libsepol/src/module_to_cil.c b/libsepol/src/module_to_cil.c
>> index 9c7e3d3a..3c8ba10a 100644
>> --- a/libsepol/src/module_to_cil.c
>> +++ b/libsepol/src/module_to_cil.c
>> @@ -573,7 +573,7 @@ static int avrule_to_cil(int indent, struct policydb *pdb, uint32_t type, const
>>                 rule = "auditallow";
>>                 break;
>>         case AVRULE_AUDITDENY:
>> -               rule = "auditdenty";
>> +               rule = "auditdeny";
>>                 break;
>>         case AVRULE_DONTAUDIT:
>>                 rule = "dontaudit";
>> --
>> 2.30.2
>>
diff mbox series

Patch

diff --git a/libsepol/src/module_to_cil.c b/libsepol/src/module_to_cil.c
index 9c7e3d3a..3c8ba10a 100644
--- a/libsepol/src/module_to_cil.c
+++ b/libsepol/src/module_to_cil.c
@@ -573,7 +573,7 @@  static int avrule_to_cil(int indent, struct policydb *pdb, uint32_t type, const
 		rule = "auditallow";
 		break;
 	case AVRULE_AUDITDENY:
-		rule = "auditdenty";
+		rule = "auditdeny";
 		break;
 	case AVRULE_DONTAUDIT:
 		rule = "dontaudit";