From: Josh Poimboeuf Date: Tue, 23 Dec 2014 23:06:43 +0000 (-0600) Subject: livepatch: samples: fix usage example comments X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=700a3048aaa394b2a6d1468430f892151ce04a01;p=linux-beck.git 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 Signed-off-by: Josh Poimboeuf Signed-off-by: Jiri Kosina --- 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 * + * * $ 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 * */