diff options
author | Josh Poimboeuf <jpoimboe@redhat.com> | 2014-12-23 17:06:43 -0600 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2014-12-24 00:10:00 +0100 |
commit | 700a3048aaa394b2a6d1468430f892151ce04a01 (patch) | |
tree | 04f5988afd3932de09f16f83b74b1ad51e314f9f /samples | |
parent | 74d50da3e47f9e0b9eba2be4372556aa82d0f05d (diff) | |
download | lwn-700a3048aaa394b2a6d1468430f892151ce04a01.tar.gz lwn-700a3048aaa394b2a6d1468430f892151ce04a01.zip |
livepatch: samples: fix usage example comments
Fix a few typos in the livepatch-sample.c usage example comments and add
some whitespace to make the comments a little more legible.
Reported-by: Udo Seidel <udoseidel@gmx.de>
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'samples')
-rw-r--r-- | samples/livepatch/livepatch-sample.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/samples/livepatch/livepatch-sample.c b/samples/livepatch/livepatch-sample.c index 21f159d51074..fb8c8614e728 100644 --- a/samples/livepatch/livepatch-sample.c +++ b/samples/livepatch/livepatch-sample.c @@ -26,12 +26,16 @@ * kernel boot cmdline when /proc/cmdline is read. * * Example: + * * $ cat /proc/cmdline * <your cmdline> + * * $ insmod livepatch-sample.ko * $ cat /proc/cmdline * this has been live patched - * $ echo 0 > /sys/kernel/livepatch/klp_sample/enabled + * + * $ echo 0 > /sys/kernel/livepatch/livepatch_sample/enabled + * $ cat /proc/cmdline * <your cmdline> */ |