diff options
Diffstat (limited to 'sal')
-rw-r--r-- | sal/inc/sal/main.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/inc/sal/main.h b/sal/inc/sal/main.h index c6841a96e313..b4be493cd863 100644 --- a/sal/inc/sal/main.h +++ b/sal/inc/sal/main.h @@ -47,7 +47,7 @@ int SAL_CALL main(int argc, char ** argv) \ sal_detail_initialize(argc, argv); \ ret = sal_main_with_args(argc, argv); \ sal_detail_deinitialize(); \ - return x; \ + return ret; \ } #define SAL_MAIN_IMPL \ @@ -57,7 +57,7 @@ int SAL_CALL main(int argc, char ** argv) \ sal_detail_initialize(argc, argv); \ ret = sal_main(); \ sal_detail_deinitialize(); \ - return x; \ + return ret; \ } /* Definition macros for CRT entries */ |