From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f42.google.com (mail-wg0-f42.google.com [74.125.82.42]) by dpdk.org (Postfix) with ESMTP id E69377F2D for ; Wed, 17 Dec 2014 13:55:36 +0100 (CET) Received: by mail-wg0-f42.google.com with SMTP id k14so4019057wgh.1 for ; Wed, 17 Dec 2014 04:55:36 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=d4kpQAihniraT6TgiziQVghOBckieQJXnHBthfFan4s=; b=Kbfd4Naa24NNmp+JjADFkRh9Cny2JvX5ersq65h4jvOZfNvtcyN2bAl9gRtC69lPje QkG7Ajw9K6JDTMj5lUJ9EUpa+kiSWkudx8uBiLfVnw3E0aq5SdKi8RzvbuF6HCBELbb9 gFV2MD+bD0IJpZnTbrGOHailE2d5Z1tjSAgLwcnEUi+jLQalY9MS31pAJE39ppAnnO5z wYaCTBygCaA9Y3N5K8fvYvp2bx0scsABmd4F8rkoSAtRULeD4cCUSuwYCKVofOjW+H4G p6gpeodm8TDGENTYJ7Hl0DEq/B+RnxyKnaXWiHi3AQyselqbu8H/m9z4Lw0jA6nxRxJ4 aoJA== X-Gm-Message-State: ALoCoQlUdSgRtz1rLNZjwE4BPItZyxR5KTzUN4KUnnbgjxmkyYfQVdBxCC3l0HDIBKIKrMZtjQRZ X-Received: by 10.194.88.131 with SMTP id bg3mr1660096wjb.99.1418820936819; Wed, 17 Dec 2014 04:55:36 -0800 (PST) Received: from glumotte.dev.6wind.com (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by mx.google.com with ESMTPSA id gs10sm6948929wib.12.2014.12.17.04.55.35 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 17 Dec 2014 04:55:36 -0800 (PST) From: Olivier Matz To: dev@dpdk.org Date: Wed, 17 Dec 2014 13:55:25 +0100 Message-Id: <1418820925-20318-6-git-send-email-olivier.matz@6wind.com> X-Mailer: git-send-email 2.1.3 In-Reply-To: <1418820925-20318-1-git-send-email-olivier.matz@6wind.com> References: <1418820925-20318-1-git-send-email-olivier.matz@6wind.com> Subject: [dpdk-dev] [PATCH 5/5] examples/vm_power_manager: fix initialization of cmdline token X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Dec 2014 12:55:37 -0000 Fix a typo: cmdline_parse_token_string_t was used in place of cmdline_parse_num_string_t. Seen with clang-3.5. Signed-off-by: Olivier Matz --- examples/vm_power_manager/vm_power_cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/vm_power_manager/vm_power_cli.c b/examples/vm_power_manager/vm_power_cli.c index bd685fd..7690d14 100644 --- a/examples/vm_power_manager/vm_power_cli.c +++ b/examples/vm_power_manager/vm_power_cli.c @@ -624,7 +624,7 @@ cmd_set_cpu_freq_parsed(void *parsed_result, struct cmdline *cl, cmdline_parse_token_string_t cmd_set_cpu_freq = TOKEN_STRING_INITIALIZER(struct cmd_set_cpu_freq_result, set_cpu_freq, "set_cpu_freq"); -cmdline_parse_token_string_t cmd_set_cpu_freq_core_num = +cmdline_parse_token_num_t cmd_set_cpu_freq_core_num = TOKEN_NUM_INITIALIZER(struct cmd_set_cpu_freq_result, core_num, UINT8); cmdline_parse_token_string_t cmd_set_cpu_freq_cmd_cmd = -- 2.1.3