about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2018-01-21 16:10:17 +0100
committerLeah Neukirchen <leah@vuxu.org>2018-01-21 16:10:17 +0100
commit2dda99039012b3605bda62d2373d526d914a6855 (patch)
tree9a84500837385c47454fcdfe01b688db45381817
parentadc6cd77b77d2eb899f3b946b816e32e747f8255 (diff)
downloadfail-2dda99039012b3605bda62d2373d526d914a6855.tar.gz
fail-2dda99039012b3605bda62d2373d526d914a6855.tar.xz
fail-2dda99039012b3605bda62d2373d526d914a6855.zip
sort flags
-rw-r--r--fail.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fail.c b/fail.c
index 0ecde49..f586ba8 100644
--- a/fail.c
+++ b/fail.c
@@ -127,15 +127,15 @@ main(int argc, char *argv[])
 		case '1': exit(-1); break;
 		case '2': exit(2); break;
 		case '3': exit(111); break;
+		case 'O': oom(); break;
+		case 'a': abortme(); break;
 		case 'c': violate_seccomp(); break;
 		case 'd': divtrap(); break;
 		case 'i': illegalins(); break;
-		case 't': trap(); break;
-		case 'O': oom(); break;
-		case 'a': abortme(); break;
 		case 'k': killme(); break;
 		case 'r': recurse(0); break;
 		case 's': segfault(); break;
+		case 't': trap(); break;
 		}
 	}