aboutsummaryrefslogtreecommitdiffstats
path: root/block/deadline-iosched.c
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2012-09-05 17:37:36 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-10 19:43:05 -0400
commit6bb22fea25624ab593eee376fa5fb82d1b13f45a (patch)
treee7befe25e0264de757770c2065a2821b4422f4e5 /block/deadline-iosched.c
parentd5ab482799e7c4c4b7c0aa67e8710dce28115d03 (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 'block/deadline-iosched.c')
0 files changed, 0 insertions, 0 deletions