From 246fdb38d7c2fb3054b8f8528e11dc8f17691750 Mon Sep 17 00:00:00 2001 From: Wiimm Date: Tue, 26 Mar 2024 10:35:38 +0100 Subject: SZS 2.42a --- project/src/wtest.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'project/src/wtest.c') diff --git a/project/src/wtest.c b/project/src/wtest.c index 3cc7003..cec42c7 100644 --- a/project/src/wtest.c +++ b/project/src/wtest.c @@ -4214,7 +4214,7 @@ static enumError test_pf_expand ( int argc, char ** argv ) " -i : Set mode to INSERT (default).\n" " -a : Set mode to APPEND.\n" "\n"); - exit(1); + ExitFixed(1); } @@ -4269,7 +4269,7 @@ static enumError test_coded_version ( int argc, char ** argv ) if ( argc <= 1 ) { printf( "\nSyntax: VERSIONCODE | VC [number]...\n\n"); - exit(1); + ExitFixed(1); } int fw = 11; @@ -4318,7 +4318,7 @@ static enumError test_key_list ( int argc, char ** argv ) if ( argc <= 1 ) { printf( "\nSyntax: KEY-LIST | KL [options] [a..b] [args]...\n\n"); - exit(1); + ExitFixed(1); } static const KeywordTab_t keytab[] = @@ -4807,7 +4807,6 @@ be32n((u32*)head,(u32*)head,sizeof(head)/4); be32n((u32*)node,(u32*)node,sizeof(node)/4); while ( node->data_size ) { -xBINGO; if (!strcasecmp(node->file_name,path)) { res.data = (u8*)node + node->data_offset; @@ -5283,7 +5282,7 @@ void help_exit() #endif ClosePager(); - exit(ERR_SYNTAX); + ExitFixed(ERR_SYNTAX); }; // -- cgit v1.3.1