git » libfiu » commit 6d9d066

utils: Use libc/mm/* instead of libc/mm/malloc in the help examples

author Alberto Bertogli
2012-03-29 22:27:47 UTC
committer Alberto Bertogli
2012-03-29 22:27:47 UTC
parent 4e2dbfa8abc1f1929b3629c5ead54017d27013e8

utils: Use libc/mm/* instead of libc/mm/malloc in the help examples

Some of the commands don't necessarily use malloc(), so convert the examples
to libc/mm/* instead.

Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>

preload/run/fiu-run.in +1 -1
utils/fiu-ctrl +1 -1

diff --git a/preload/run/fiu-run.in b/preload/run/fiu-run.in
index 37ef881..0fe385f 100644
--- a/preload/run/fiu-run.in
+++ b/preload/run/fiu-run.in
@@ -53,7 +53,7 @@ REMOVED in future releases: -e, -p, -u and -i.
 Example:
 
   fiu-run -x -c 'enable_random name=posix/io/*,probability=0.25' \\
-             -c 'enable_random name=libc/mm/malloc,probability=0.05' ls -l
+             -c 'enable_random name=libc/mm/*,probability=0.05' ls -l
 
 Run \"ls -l\" enabling all failure points that begin with 'posix/io/' with a
 25% of probability to fail, and the failure point libc/mm/malloc with a 5% of
diff --git a/utils/fiu-ctrl b/utils/fiu-ctrl
index aad946b..140bb37 100755
--- a/utils/fiu-ctrl
+++ b/utils/fiu-ctrl
@@ -46,7 +46,7 @@ REMOVED in future releases: -e, -p, -u and -i.
 Examples:
 
   fiu-ctrl -c 'enable_random name=posix/io/*,probability=0.25' \\
-           -c 'enable_random name=libc/mm/malloc,probability=0.05' 12345
+           -c 'enable_random name=libc/mm/*,probability=0.05' 12345
 
 Tell the process with pid 12345 to enable the failure point 'posix/io/read'
 with a 25% of probability to fail, and the failure point 'libc/mm/malloc' with