mirror of https://github.com/dynup/kpatch
14 lines
396 B
Diff
14 lines
396 B
Diff
diff -Nupr src.orig/fs/proc/cmdline.c src/fs/proc/cmdline.c
|
|
--- src.orig/fs/proc/cmdline.c 2023-04-24 14:22:43.301959477 -0400
|
|
+++ src/fs/proc/cmdline.c 2023-04-24 14:22:55.620002018 -0400
|
|
@@ -6,8 +6,7 @@
|
|
|
|
static int cmdline_proc_show(struct seq_file *m, void *v)
|
|
{
|
|
- seq_puts(m, saved_command_line);
|
|
- seq_putc(m, '\n');
|
|
+ seq_printf(m, "%s kpatch=1\n", saved_command_line);
|
|
return 0;
|
|
}
|
|
|