From: John Kacur <jkacur@redhat.com>
To: Kurt Kanzenbach <kurt@linutronix.de>
Cc: Clark Williams <williams@redhat.com>,
rt-users <linux-rt-users@vger.kernel.org>
Subject: Re: [PATCH] rt-tests: cyclicdeadline: fix getopt string
Date: Wed, 3 Apr 2019 15:52:58 +0200 (CEST) [thread overview]
Message-ID: <alpine.LFD.2.21.1904031552220.5546@planxty> (raw)
In-Reply-To: <20190402094239.21482-1-kurt@linutronix.de>
On Tue, 2 Apr 2019, Kurt Kanzenbach wrote:
> There is code to parse the interval and step parameters from the command
> line. However, these options cannot be set, because the getopt string is
> incomplete. Adjust it accordingly to make '-i' and '-s' work.
>
> Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
> ---
> src/sched_deadline/cyclicdeadline.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/sched_deadline/cyclicdeadline.c b/src/sched_deadline/cyclicdeadline.c
> index 761f8d7d7483..08460107c464 100644
> --- a/src/sched_deadline/cyclicdeadline.c
> +++ b/src/sched_deadline/cyclicdeadline.c
> @@ -1062,7 +1062,7 @@ int main (int argc, char **argv)
> exit(-1);
> }
>
> - while ((c = getopt(argc, argv, "+hac:t:")) >= 0) {
> + while ((c = getopt(argc, argv, "+hac:i:s:t:")) >= 0) {
> switch (c) {
> case 'a':
> all_cpus = 1;
> --
> 2.11.0
Signed-off-by: John Kacur <jkacur@redhat.com>
prev parent reply other threads:[~2019-04-03 13:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-02 9:42 [PATCH] rt-tests: cyclicdeadline: fix getopt string Kurt Kanzenbach
2019-04-03 13:52 ` John Kacur [this message]
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=alpine.LFD.2.21.1904031552220.5546@planxty \
--to=jkacur@redhat.com \
--cc=kurt@linutronix.de \
--cc=linux-rt-users@vger.kernel.org \
--cc=williams@redhat.com \
/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: link
Be 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