SELinux Archive on lore.kernel.org
 help / color / Atom feed
* [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	[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, back to index

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

SELinux Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/selinux/0 selinux/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 selinux selinux/ https://lore.kernel.org/selinux \
		selinux@vger.kernel.org selinux@archiver.kernel.org
	public-inbox-index selinux


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.selinux


AGPL code for this site: git clone https://public-inbox.org/ public-inbox