Skip to content

Commit

Permalink
livepatch: samples: fix usage example comments
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Josh Poimboeuf <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
  • Loading branch information
jpoimboe authored and Jiri Kosina committed Dec 23, 2014
1 parent 74d50da commit 700a304
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion samples/livepatch/livepatch-sample.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
*/

Expand Down

0 comments on commit 700a304

Please sign in to comment.