From 796012ff32e0b39539ddd5d328403147d71a47ff Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Mon, 1 Apr 2013 13:53:23 +0800 Subject: update spseg.cpp --- tests/storage/test_parser2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/storage/test_parser2.cpp b/tests/storage/test_parser2.cpp index 046c523..5ea3fb8 100644 --- a/tests/storage/test_parser2.cpp +++ b/tests/storage/test_parser2.cpp @@ -66,7 +66,7 @@ int main(int argc, char * argv[]) { g_option_context_add_main_entries(context, entries, NULL); if (!g_option_context_parse(context, &argc, &argv, &error)) { g_print("option parsing failed:%s\n", error->message); - exit(1); + exit(EINVAL); } if (incomplete) -- cgit