diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2012-09-05 14:37:36 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-10 16:43:05 -0700 |
commit | 6bb22fea25624ab593eee376fa5fb82d1b13f45a (patch) | |
tree | e7befe25e0264de757770c2065a2821b4422f4e5 /scripts/recordmcount.pl | |
parent | d5ab482799e7c4c4b7c0aa67e8710dce28115d03 (diff) |
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 'scripts/recordmcount.pl')
0 files changed, 0 insertions, 0 deletions