Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp4398266ybc; Tue, 26 Nov 2019 08:20:13 -0800 (PST) X-Google-Smtp-Source: APXvYqwq04itOs2H3Cjvu9+6rn17JkrlHKZG1E/efeFTBQJgfSq5Lo96g5ngTpzgA8k9nx5fDbH3 X-Received: by 2002:a05:6402:382:: with SMTP id o2mr25932399edv.61.1574785212893; Tue, 26 Nov 2019 08:20:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574785212; cv=none; d=google.com; s=arc-20160816; b=XgHzKCfdivZdsKapLbEGYENXfMrs93cvHj6nxhgFGCgdwdiRAYxjql4kgCgeYyGf42 1Zj8RFAj/+CThX/RsC5zvQxtT57/KUfRlh73VWZ2ZwNtg+mNoe3pxwg0WV3V7JpPlfRl z7r0k6kknToDoG838EJ8uJ/A4Lbvt14CDW8vIWGav1uf0/3igOHbwqqWDa4bVCvSpEIl UIQxuiXwE9GXzRkj0atJXAIiysEeWIHvQwx+6EOf3XgsYXhC0qtsBAcyJhxNq5x0VRX8 do5usKcAt6+nZLu/lWBIRmiaEhakzyIb5galNIL2FldvtjOYM74Z8NDnY433s8eKe9kJ V9Ng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=VRQrRgYBZsPKfq68KFpJ+l9WP997s45cG28WLAZ1K9Q=; b=bFn7g6IaLmY0Oecl2V2RCTppassG8W10aQWqC3LsFuH4kSO0F22igwC4WNOh7IvJt7 q1c/EA0KjnfzF6XbWiX7p6JJi7dcecnckQYypsRvMTHU32HOTpT9cB2qtk0KQIaM+Zb5 nnWXrJDsnPZJQgEz8x4z278nbOpNJ8+rylhK2McS+J9mJi+GuKxaHS5Eecn3pU2zJ4o/ n2RR3ctE27xpr+Km7hlxvoLXPd4Q/QQ5wfK/seksWvxmkc1cLpIqY5NgqvyJzxGOKP0o Dh6M4JSg4VIYFLlgUx4SDFy9jKNMCFr+Oq8sTiyC2Hhecdbha05Q6Dh7baQAYqpY8aBa au8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=WqPX4ml5; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g27si8313874eda.313.2019.11.26.08.19.47; Tue, 26 Nov 2019 08:20:12 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=WqPX4ml5; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727533AbfKZPrW (ORCPT + 99 others); Tue, 26 Nov 2019 10:47:22 -0500 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:38701 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728620AbfKZPrW (ORCPT ); Tue, 26 Nov 2019 10:47:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1574783241; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=VRQrRgYBZsPKfq68KFpJ+l9WP997s45cG28WLAZ1K9Q=; b=WqPX4ml5PWg0snDYfItJ7h4dQr4a6u5G9/30HO4Xu5Y/Y/QXlyJfeKJyVGSzCVWRr2OZ4Q fUJP9FS7cW3pKjtdSEqyHO+EPjpIlE6s1J7mjGoSpO/iQ20Aiwk2q+NC5lPz6GUE7/6g24 UOfk7ODzEbNEXuL8xUrIrzGr1cSdhO4= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-366-_ZK_r-7ZPkOqqwwc7ga8kQ-1; Tue, 26 Nov 2019 10:47:20 -0500 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 6988E18B9FCB for ; Tue, 26 Nov 2019 15:47:19 +0000 (UTC) Received: from coeurl.usersys.redhat.com (ovpn-123-90.rdu2.redhat.com [10.10.123.90]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4EBB31001281; Tue, 26 Nov 2019 15:47:19 +0000 (UTC) Received: by coeurl.usersys.redhat.com (Postfix, from userid 1000) id E76A020844; Tue, 26 Nov 2019 10:47:18 -0500 (EST) From: Scott Mayhew To: steved@redhat.com Cc: linux-nfs@vger.kernel.org Subject: [nfs-utils PATCH 3/3] nfsdcld: getopt_long() returns an int, not a char Date: Tue, 26 Nov 2019 10:47:18 -0500 Message-Id: <20191126154718.22645-4-smayhew@redhat.com> In-Reply-To: <20191126154718.22645-1-smayhew@redhat.com> References: <20191126154718.22645-1-smayhew@redhat.com> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-MC-Unique: _ZK_r-7ZPkOqqwwc7ga8kQ-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org This was causing nfsdcld to spit out a usage message instead of starting up on non-x86_64 arches. Signed-off-by: Scott Mayhew --- utils/nfsdcld/nfsdcld.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/nfsdcld/nfsdcld.c b/utils/nfsdcld/nfsdcld.c index 9297df5..2ad1001 100644 --- a/utils/nfsdcld/nfsdcld.c +++ b/utils/nfsdcld/nfsdcld.c @@ -737,7 +737,7 @@ out: int main(int argc, char **argv) { -=09char arg; +=09int arg; =09int rc =3D 0; =09bool foreground =3D false; =09char *progname; --=20 2.17.2