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