aboutsummaryrefslogtreecommitdiff
path: root/_articles/2021-02-17-ann-fallible-fault-injection-library-for-stress-testing-failure-scenarios.md
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--_articles/2021-02-17-ann-fallible-fault-injection-library-for-stress-testing-failure-scenarios.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/_articles/2021-02-17-ann-fallible-fault-injection-library-for-stress-testing-failure-scenarios.md b/_articles/2021-02-17-ann-fallible-fault-injection-library-for-stress-testing-failure-scenarios.md
index 7bb4356..0add24e 100644
--- a/_articles/2021-02-17-ann-fallible-fault-injection-library-for-stress-testing-failure-scenarios.md
+++ b/_articles/2021-02-17-ann-fallible-fault-injection-library-for-stress-testing-failure-scenarios.md
@@ -152,8 +152,8 @@ void *fallible_malloc(size_t size, const char *const filename, int lineno) {
With this definition, I could replace the calls to `malloc` with `MALLOC` (or any other name that you want to `#define`):
```diff
---- 3.c 2021-02-17 00:15:38.019706074 -0300
-+++ 4.c 2021-02-17 00:44:32.306885590 -0300
+--- 3.c 2021-02-17 00:15:38.019706074 -0300
++++ 4.c 2021-02-17 00:44:32.306885590 -0300
@@ -1,11 +1,11 @@
bool a_function() {
- char *s1 = malloc(A_NUMBER);