From nobody Thu May 05 23:23:39 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 7F5761ABC0E7; Thu, 5 May 2022 23:23:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KvVBM37ZNz4Tv6; Thu, 5 May 2022 23:23:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651793019; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=0P+L3OuUvPlJDP4xSz1zyAq8fTLknspKlQ48wjlQg5o=; b=vS76wtJul+UxLKJWY9FY1Ru+0yjRD8l0IBF19SmBeDkDoZuLClc9p4QVWNm7NsOSotRAZq 3kcdZKTg00/rjRspyR8GrMtAR243bQGYdPnWcV2jYIQWO+4JBb4SB6aP5CcYUuj7mLfRPb Q4S0CjaKUTOitB4gAMCuNj7j+6rf3ZNPVN+mgBpBvWeoAcI5fLPfuGFO0gOBZZjwvzYTrl bUR7oz2B3Rtfxt8O8qt2wettBLeAdVJSirY8JedqW+cvdVVhlCHhrZU4sHIs9zDryMW5/B dlI5wFY9hfObmuFgNTewBrM8B0DQHqjN4rThCpFKQUY+XXxu4ajvlW8yxDsSlg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4BC0610F8C; Thu, 5 May 2022 23:23:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 245NNd5E028115; Thu, 5 May 2022 23:23:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 245NNdUW028114; Thu, 5 May 2022 23:23:39 GMT (envelope-from git) Date: Thu, 5 May 2022 23:23:39 GMT Message-Id: <202205052323.245NNdUW028114@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Rick Macklem Subject: git: 15881823b9da - main - rpc.tlsclntd, rpc.tlsservd: Fix getopt_long argument List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rmacklem X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 15881823b9dabbd9f561c4fa264fffc4f497b10c Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651793019; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=0P+L3OuUvPlJDP4xSz1zyAq8fTLknspKlQ48wjlQg5o=; b=NvI0tg/QXx8NLsOUoyTLVaHs6UN9GS1u3W9DsCsO83pjYIb1lFAsPZUzByjLl5++umBHuD 8eSLFmVDm66Do277AV9R9c2CmngjFYxErHc+kSesziTVJgkNb3g7EKbPdBiWXpqajSzY75 sMOpD/FUKqe/gSI1T8NujuLFh4TCO1YGY11PkrV1Ib0o+6OP8G+9/Nd/5Ldj/nfn1TZpSU OIMJcZFeR4aVCIoclLCgpKFeDpaolBJ1t6UggGpSAY6kZ0wqQUf6ZMNiRjepE0zclZKmlJ brhS7knR7YUAtbwhm4A9g9+GRaCIRC6p42XAmuf+pLEiqUtiDGZaRx8BztVUdQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651793019; a=rsa-sha256; cv=none; b=qYQyCubd6wuXHv+wWJY6pd+9z5ToM4a1DIe74i2Wjrr6KwRd3jpjb70ufT/A52c5yE0sRG QEvRnuLnUZyXWIBsfDE4mA3PpkfmtfBoodIC+HrUZ2E4EwNRLNjZJN+y/5vbwja7/aYU/Z WEHCMJJR8n9cxQvy5rrtXi/FBW60dxHb+5X1AjA5oQE3LPEod7YgXy21EEBMqwcJWSLFAk H0MzuL5N1Fx6ING1Zi79GSWSVbiQ+HNghIFlAtzW+NU1rcPAHLUKTwjSLBpEaCbik0wuWI UryRruZGCOvR+iSLyBvsorZfcnu61LfykFPI78wgBIq/1RW9Jn5tCiwIxxiK/g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by rmacklem: URL: https://cgit.FreeBSD.org/src/commit/?id=15881823b9dabbd9f561c4fa264fffc4f497b10c commit 15881823b9dabbd9f561c4fa264fffc4f497b10c Author: Rick Macklem AuthorDate: 2022-05-05 23:22:12 +0000 Commit: Rick Macklem CommitDate: 2022-05-05 23:22:12 +0000 rpc.tlsclntd, rpc.tlsservd: Fix getopt_long argument The "C" option in the argument to getopt_long() was missing a ":" for both rpc.tlsclntd.c and rpc.tlsservd.c. This patch fixes this. MFC after: 2 weeks --- usr.sbin/rpc.tlsclntd/rpc.tlsclntd.c | 4 ++-- usr.sbin/rpc.tlsservd/rpc.tlsservd.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.sbin/rpc.tlsclntd/rpc.tlsclntd.c b/usr.sbin/rpc.tlsclntd/rpc.tlsclntd.c index 5e66f4b4b2dd..ac8a91589388 100644 --- a/usr.sbin/rpc.tlsclntd/rpc.tlsclntd.c +++ b/usr.sbin/rpc.tlsclntd/rpc.tlsclntd.c @@ -154,8 +154,8 @@ main(int argc, char **argv) rpctls_ssl_usec = tm.tv_usec; rpctls_verbose = false; - while ((ch = getopt_long(argc, argv, "CD:dl:mp:r:v", longopts, NULL)) != - -1) { + while ((ch = getopt_long(argc, argv, "C:D:dl:mp:r:v", longopts, + NULL)) != -1) { switch (ch) { case 'C': rpctls_ciphers = optarg; diff --git a/usr.sbin/rpc.tlsservd/rpc.tlsservd.c b/usr.sbin/rpc.tlsservd/rpc.tlsservd.c index 2726ba84fd3b..e6cfbe6faf88 100644 --- a/usr.sbin/rpc.tlsservd/rpc.tlsservd.c +++ b/usr.sbin/rpc.tlsservd/rpc.tlsservd.c @@ -180,7 +180,7 @@ main(int argc, char **argv) } rpctls_verbose = false; - while ((ch = getopt_long(argc, argv, "CD:dhl:n:mp:r:uvWw", longopts, + while ((ch = getopt_long(argc, argv, "C:D:dhl:n:mp:r:uvWw", longopts, NULL)) != -1) { switch (ch) { case 'C':