summaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2012-09-05 14:37:36 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-07 08:32:25 -0700
commitde5d66e635460e27d678df99f9cb97e263d3bbe7 (patch)
tree734cc5bfc94431454dc01d72cfac3c041e1ca93c /ipc
parent37b6d804b3b5e2a255d2182ce00e1f25c568d7e9 (diff)
tools/hv: Fix exit() error code
commit 6bb22fea25624ab593eee376fa5fb82d1b13f45a upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions