diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2018-02-13 14:48:02 +0100 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2018-02-13 15:58:55 +0100 |
| commit | 839b17e1f1753fb1c99506c5810b62afc95bc635 (patch) | |
| tree | 3b49cdd80166740c94b4b5f8eaee3dac27d53876 /miasm2/jitter/Jitgcc.c | |
| parent | 9906ad3504a4bc6c6a301a1b4b7b3c16e2a09ab9 (diff) | |
| download | miasm-839b17e1f1753fb1c99506c5810b62afc95bc635.tar.gz miasm-839b17e1f1753fb1c99506c5810b62afc95bc635.zip | |
Jitter: fix exit return code
Diffstat (limited to '')
| -rw-r--r-- | miasm2/jitter/Jitgcc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm2/jitter/Jitgcc.c b/miasm2/jitter/Jitgcc.c index 71023902..79274f24 100644 --- a/miasm2/jitter/Jitgcc.c +++ b/miasm2/jitter/Jitgcc.c @@ -59,7 +59,7 @@ PyObject* gcc_exec_bloc(PyObject* self, PyObject* args) else { if (BlockDst.is_local == 1) { fprintf(stderr, "return on local label!\n"); - exit(1); + exit(EXIT_FAILURE); } // retaddr is not jitted yet return retaddr; |