* [PATCH 2/2] another style fix
@ 2019-05-10 18:17 Jokke Hämäläinen
2019-05-10 20:51 ` William Roberts
0 siblings, 1 reply; 3+ messages in thread
From: Jokke Hämäläinen @ 2019-05-10 18:17 UTC (permalink / raw)
To: selinux
---
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 2/2] another style fix
2019-05-10 18:17 [PATCH 2/2] another style fix Jokke Hämäläinen
@ 2019-05-10 20:51 ` William Roberts
2019-05-16 0:35 ` William Roberts
0 siblings, 1 reply; 3+ messages in thread
From: William Roberts @ 2019-05-10 20:51 UTC (permalink / raw)
To: Jokke Hämäläinen; +Cc: selinux
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 2/2] another style fix
2019-05-10 20:51 ` William Roberts
@ 2019-05-16 0:35 ` William Roberts
0 siblings, 0 replies; 3+ messages in thread
From: William Roberts @ 2019-05-16 0:35 UTC (permalink / raw)
To: Jokke Hämäläinen; +Cc: selinux
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-05-16 1:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-10 18:17 [PATCH 2/2] another style fix Jokke Hämäläinen
2019-05-10 20:51 ` William Roberts
2019-05-16 0:35 ` William Roberts
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).