From: Ben Hutchings Date: Wed, 5 Sep 2012 21:37:36 +0000 (-0700) Subject: tools/hv: Fix exit() error code X-Git-Tag: v3.2.32~129 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54d3eed065283324ff9acba401f337ead40af27b;p=pandora-kernel.git 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 Signed-off-by: K. Y. Srinivasan Signed-off-by: Greg Kroah-Hartman [bwh: Backported to 3.2: drop changes to exit() calls not in this version] --- Reading git-diff-tree failed