diff options
| author | Ben Hutchings <[email protected]> | 2012-09-05 21:37:36 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2012-09-10 23:43:05 +0000 |
| commit | 6bb22fea25624ab593eee376fa5fb82d1b13f45a (patch) | |
| tree | e7befe25e0264de757770c2065a2821b4422f4e5 /lib/dynamic_debug.c | |
| parent | tools/hv: Fix file handle leak (diff) | |
| download | kernel-6bb22fea25624ab593eee376fa5fb82d1b13f45a.tar.gz kernel-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 <[email protected]>
Signed-off-by: K. Y. Srinivasan <[email protected]>
Cc: [email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions
