Date: Mon, 12 Nov 2018 18:37:32 +0000 (UTC) From: Mariusz Zaborski <oshogbo@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r340381 - head/lib/libcasper/services/cap_fileargs Message-ID: <201811121837.wACIbWWU089033@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: oshogbo Date: Mon Nov 12 18:37:31 2018 New Revision: 340381 URL: https://svnweb.freebsd.org/changeset/base/340381 Log: Fix typo in the comparison. This fix build with gcc. Reported by: jenkins Modified: head/lib/libcasper/services/cap_fileargs/cap_fileargs.c Modified: head/lib/libcasper/services/cap_fileargs/cap_fileargs.c ============================================================================== --- head/lib/libcasper/services/cap_fileargs/cap_fileargs.c Mon Nov 12 18:34:55 2018 (r340380) +++ head/lib/libcasper/services/cap_fileargs/cap_fileargs.c Mon Nov 12 18:37:31 2018 (r340381) @@ -176,7 +176,7 @@ fileargs_init(int argc, char *argv[], int flags, mode_ { nvlist_t *limits; - if (argv <= 0 || argv == NULL) { + if (argc <= 0 || argv == NULL) { return (fileargs_create(NULL, 0)); } @@ -194,7 +194,7 @@ fileargs_cinit(cap_channel_t *cas, int argc, char *arg { nvlist_t *limits; - if (argv <= 0 || argv == NULL) { + if (argc <= 0 || argv == NULL) { return (fileargs_create(NULL, 0)); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811121837.wACIbWWU089033>