[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150304212659.3e1d1414@grimm.local.home>
Date: Wed, 4 Mar 2015 21:26:59 -0500
From: Steven Rostedt <rostedt@...dmis.org>
To: Michael Ellerman <mpe@...erman.id.au>
Cc: shuahkh@....samsung.com, <linux-kernel@...r.kernel.org>,
davej@...emonkey.org.uk, namhyung@...nel.org
Subject: Re: [PATCH] ftracetest: Don't use non-POSIX exit -1
On Thu, 5 Mar 2015 13:04:02 +1100
Michael Ellerman <mpe@...erman.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists