From: Arnaud Giersch Date: Sun, 2 Apr 2023 09:43:45 +0000 (+0200) Subject: Cosmetics. X-Git-Tag: v3.34~198 X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/7550a5357fdf5d3b9e41a07c5e05487b80df0ff0 Cosmetics. --- diff --git a/teshsuite/mc/random-bug/random-bug.cpp b/teshsuite/mc/random-bug/random-bug.cpp index ba82292333..80b910eed4 100644 --- a/teshsuite/mc/random-bug/random-bug.cpp +++ b/teshsuite/mc/random-bug/random-bug.cpp @@ -3,8 +3,8 @@ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ +#include #include -#include #include #include #include @@ -32,7 +32,7 @@ static void app() abort(); } else if (behavior == Behavior::SEGV) { if (x == 3 && y == 4) - kill(getpid(), SIGSEGV); // Simulate a segfault without displeasing the static analyzers + raise(SIGSEGV); // Simulate a segfault without displeasing the static analyzers } else { DIE_IMPOSSIBLE; }