From patchwork Fri May 10 18:17:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?Sm9ra2UgSMOkbcOkbMOkaW5lbg==?= X-Patchwork-Id: 10939391 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id ECEA5112C for ; Fri, 10 May 2019 19:02:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DC0AC28BB1 for ; Fri, 10 May 2019 19:02:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CC82B28BBE; Fri, 10 May 2019 19:02:44 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7E7CD28BB1 for ; Fri, 10 May 2019 19:02:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728075AbfEJTCo (ORCPT ); Fri, 10 May 2019 15:02:44 -0400 Received: from 48.23.240.77.static.louhi.net ([77.240.23.48]:56178 "EHLO kolttonen.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727535AbfEJTCo (ORCPT ); Fri, 10 May 2019 15:02:44 -0400 X-Greylist: delayed 2765 seconds by postgrey-1.27 at vger.kernel.org; Fri, 10 May 2019 15:02:40 EDT Received: from 34-41-5D-CA-59-C7 (176-93-196-243.bb.dnainternet.fi [176.93.196.243]) (authenticated bits=0) by vcust561.louhi.net (8.14.7/8.14.7/0) with ESMTP id x4AIH8B1013589 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 10 May 2019 21:17:09 +0300 DKIM-Filter: OpenDKIM Filter v2.11.0 vcust561.louhi.net x4AIH8B1013589 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolttonen.fi; s=mail; t=1557512229; bh=erFCaDtiD6YeyGsVMdboBVlvovtyynH+8XgoKvpHsmY=; h=Date:From:To:Subject:From; b=T2p9dr962tDTn8nPvqBxUJCsykZQSKwhPq55bv92w/dFM3kG3vi1ZJp/jpXI3CD/P nfTWEIkqp6TCwufPrno3I2+NSMbF80MmCLhVrtzHS4PxmnZU+U+MQylDSq4p6EOUv8 lfXqTV0zn+ypyFPSImSzUY25Xt2wge5tSbwpEwIwRn3MUfukRqAoONYJIquyxVRT6x E3GdEckWfRdtfisTBcl1MXYeUqYVc9ZtyAdoI6yQkoxdltyfmEeCNHKpayCikMJ/Pi flRnqMXy6vTFcn5S8GXRYY8V8QWm/vOOPMBuzRvfDCt81m2+pd+GYlCj2i5dEV0nRe JHPto5/AoQ2GA== Date: Fri, 10 May 2019 21:17:12 +0300 (EEST) From: =?iso-8859-15?q?Jokke_H=E4m=E4l=E4inen?= To: selinux@vger.kernel.org Subject: [PATCH 2/2] another style fix Message-ID: User-Agent: Alpine 2.21 (LFD 202 2017-01-01) MIME-Version: 1.0 Sender: selinux-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: selinux@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP --- 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("<>"); + buf = strdup("<>"); } else { fprintf(stderr, "matchpathcon(%s) failed: %s\n", path, strerror(errno));