public inbox for lvm2-cvs@sourceware.org help / color / mirror / Atom feed
From: agk@sourceware.org To: lvm2-cvs@sourceware.org Subject: LVM2/tools toollib.c lvmcmdline.c Date: Mon, 02 Oct 2006 16:15:00 -0000 [thread overview] Message-ID: <20061002161505.19507.qmail@sourceware.org> (raw) CVSROOT: /cvs/lvm2 Module name: LVM2 Changes by: agk@sourceware.org 2006-10-02 16:15:03 Modified files: tools : toollib.c lvmcmdline.c Log message: Fix compiler warnings in percent arg. [pjc] Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/toollib.c.diff?cvsroot=lvm2&r1=1.89&r2=1.90 http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/lvmcmdline.c.diff?cvsroot=lvm2&r1=1.35&r2=1.36 --- LVM2/tools/toollib.c 2006/09/26 09:35:43 1.89 +++ LVM2/tools/toollib.c 2006/10/02 16:15:03 1.90 @@ -70,7 +70,7 @@ return arg_count(cmd, a) ? cmd->args[a].sign : def; } -sign_t arg_percent_value(struct cmd_context *cmd, int a, const percent_t def) +percent_t arg_percent_value(struct cmd_context *cmd, int a, const percent_t def) { return arg_count(cmd, a) ? cmd->args[a].percent : def; } --- LVM2/tools/lvmcmdline.c 2006/09/26 09:35:43 1.35 +++ LVM2/tools/lvmcmdline.c 2006/10/02 16:15:03 1.36 @@ -54,7 +54,7 @@ */ struct arg the_args[ARG_COUNT + 1] = { -#define arg(a, b, c, d) {b, "", "--" c, d, 0, NULL, 0, 0, INT64_C(0), UINT64_C(0), 0, NULL}, +#define arg(a, b, c, d) {b, "", "--" c, d, 0, NULL, 0, 0, INT64_C(0), UINT64_C(0), SIGN_NONE, PERCENT_NONE, NULL}, #include "args.h" #undef arg
next reply other threads:[~2006-10-02 16:15 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-10-02 16:15 agk [this message] -- strict thread matches above, loose matches on Subject: below -- 2004-05-11 18:45 agk
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20061002161505.19507.qmail@sourceware.org \ --to=agk@sourceware.org \ --cc=lvm2-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).