diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2012-09-05 23:37:36 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-11 01:43:05 +0200 |
commit | 6bb22fea25624ab593eee376fa5fb82d1b13f45a (patch) | |
tree | e7befe25e0264de757770c2065a2821b4422f4e5 /Kconfig | |
parent | tools/hv: Fix file handle leak (diff) | |
download | linux-6bb22fea25624ab593eee376fa5fb82d1b13f45a.tar.xz linux-6bb22fea25624ab593eee376fa5fb82d1b13f45a.zip |
tools/hv: Fix exit() error code
Linux native exit codes are 8-bit unsigned values. exit(-1) results
in an exit code of 255, which is usually reserved for shells reporting
'command not found'. Use the portable value EXIT_FAILURE. (Not that
this matters much for a daemon.)
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions