diff mbox series

[2/2] another style fix

Message ID alpine.LFD.2.21.1905102116350.16225@34-41-5D-CA-59-C7 (mailing list archive)
State Accepted
Headers show
Series None | expand

Commit Message

Jokke Hämäläinen May 10, 2019, 6:17 p.m. UTC
---
 libselinux/utils/matchpathcon.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

William Roberts May 10, 2019, 8:51 p.m. UTC | #1
On Fri, May 10, 2019 at 12:03 PM Jokke Hämäläinen
<jokke.hamalainen@kolttonen.fi> wrote:
>
>
>
> ---
>  libselinux/utils/matchpathcon.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libselinux/utils/matchpathcon.c b/libselinux/utils/matchpathcon.c
> index 9756d7d9..eb39a188 100644
> --- a/libselinux/utils/matchpathcon.c
> +++ b/libselinux/utils/matchpathcon.c
> @@ -25,7 +25,7 @@ static int printmatchpathcon(const char *path, int header, int mode)
>         int rc = matchpathcon(path, mode, &buf);
>         if (rc < 0) {
>                 if (errno == ENOENT) {
> -                       buf=strdup("<<none>>");
> +                       buf = strdup("<<none>>");
>                 } else {
>                         fprintf(stderr, "matchpathcon(%s) failed: %s\n", path,
>                                 strerror(errno));
> --
> 2.21.0
>

ack
William Roberts May 16, 2019, 12:35 a.m. UTC | #2
merged: https://github.com/SELinuxProject/selinux/pull/147

On Fri, May 10, 2019 at 1:51 PM William Roberts
<bill.c.roberts@gmail.com> wrote:
>
> On Fri, May 10, 2019 at 12:03 PM Jokke Hämäläinen
> <jokke.hamalainen@kolttonen.fi> wrote:
> >
> >
> >
> > ---
> >  libselinux/utils/matchpathcon.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/libselinux/utils/matchpathcon.c b/libselinux/utils/matchpathcon.c
> > index 9756d7d9..eb39a188 100644
> > --- a/libselinux/utils/matchpathcon.c
> > +++ b/libselinux/utils/matchpathcon.c
> > @@ -25,7 +25,7 @@ static int printmatchpathcon(const char *path, int header, int mode)
> >         int rc = matchpathcon(path, mode, &buf);
> >         if (rc < 0) {
> >                 if (errno == ENOENT) {
> > -                       buf=strdup("<<none>>");
> > +                       buf = strdup("<<none>>");
> >                 } else {
> >                         fprintf(stderr, "matchpathcon(%s) failed: %s\n", path,
> >                                 strerror(errno));
> > --
> > 2.21.0
> >
>
> ack
diff mbox series

Patch

diff --git a/libselinux/utils/matchpathcon.c b/libselinux/utils/matchpathcon.c
index 9756d7d9..eb39a188 100644
--- a/libselinux/utils/matchpathcon.c
+++ b/libselinux/utils/matchpathcon.c
@@ -25,7 +25,7 @@  static int printmatchpathcon(const char *path, int header, int mode)
 	int rc = matchpathcon(path, mode, &buf);
 	if (rc < 0) {
 		if (errno == ENOENT) {
-			buf=strdup("<<none>>");
+			buf = strdup("<<none>>");
 		} else {
 			fprintf(stderr, "matchpathcon(%s) failed: %s\n", path,
 				strerror(errno));