From: Steven Rostedt <rostedt@goodmis.org>
To: Michael Ellerman <mpe@ellerman.id.au>
Cc: shuahkh@osg.samsung.com, <linux-kernel@vger.kernel.org>,
davej@codemonkey.org.uk, namhyung@kernel.org
Subject: Re: [PATCH] ftracetest: Don't use non-POSIX exit -1
Date: Wed, 4 Mar 2015 21:26:59 -0500 [thread overview]
Message-ID: <20150304212659.3e1d1414@grimm.local.home> (raw)
In-Reply-To: <1425521042-30251-1-git-send-email-mpe@ellerman.id.au>
On Thu, 5 Mar 2015 13:04:02 +1100
Michael Ellerman <mpe@ellerman.id.au> wrote:
> POSIX says that exit takes an unsigned integer between 0 and 255.
>
> Convert exit -1 to exit 255.
>
Why 255? Why not just exit 1?
Actually, don't we have explicit numbers for exit status?
/me not looking at the code right now to figure that out.
-- Steve
next prev parent reply other threads:[~2015-03-05 2:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-05 2:04 Michael Ellerman
2015-03-05 2:26 ` Steven Rostedt [this message]
2015-03-05 2:56 ` Michael Ellerman
2015-03-05 14:04 ` Steven Rostedt
2015-03-05 2:40 ` Masami Hiramatsu
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=20150304212659.3e1d1414@grimm.local.home \
--to=rostedt@goodmis.org \
--cc=davej@codemonkey.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=mpe@ellerman.id.au \
--cc=namhyung@kernel.org \
--cc=shuahkh@osg.samsung.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
all inboxes | Powered by JetHome®