summaryrefslogtreecommitdiff
path: root/samples/livepatch/livepatch-sample.c
diff options
context:
space:
mode:
Diffstat (limited to 'samples/livepatch/livepatch-sample.c')
-rw-r--r--samples/livepatch/livepatch-sample.c6
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>
*/