From patchwork Tue Nov 26 15:47:18 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Scott Mayhew X-Patchwork-Id: 11262657 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8C2B617F0 for ; Tue, 26 Nov 2019 15:47:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 64B3F2075C for ; Tue, 26 Nov 2019 15:47:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="WqPX4ml5" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727533AbfKZPrW (ORCPT ); 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 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) { - char arg; + int arg; int rc = 0; bool foreground = false; char *progname;