Commit 9ff7049f authored by Olaf Hering's avatar Olaf Hering Committed by Linus Torvalds

[PATCH] remove double newline from sysrq action_msg

__handle_sysrq already prints a newline, so the action_msg string doesnt
need yet another newline.
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 105a45bf
...@@ -53,7 +53,7 @@ voyager_dump(int dummy1, struct pt_regs *dummy2, struct tty_struct *dummy3) ...@@ -53,7 +53,7 @@ voyager_dump(int dummy1, struct pt_regs *dummy2, struct tty_struct *dummy3)
static struct sysrq_key_op sysrq_voyager_dump_op = { static struct sysrq_key_op sysrq_voyager_dump_op = {
.handler = voyager_dump, .handler = voyager_dump,
.help_msg = "Voyager", .help_msg = "Voyager",
.action_msg = "Dump Voyager Status\n", .action_msg = "Dump Voyager Status",
}; };
#endif #endif
......
...@@ -102,7 +102,7 @@ static struct sysrq_key_op sysrq_xmon_op = ...@@ -102,7 +102,7 @@ static struct sysrq_key_op sysrq_xmon_op =
{ {
.handler = sysrq_handle_xmon, .handler = sysrq_handle_xmon,
.help_msg = "Xmon", .help_msg = "Xmon",
.action_msg = "Entering xmon\n", .action_msg = "Entering xmon",
}; };
#endif #endif
......
...@@ -35,7 +35,7 @@ static struct sysrq_key_op sysrq_xmon_op = ...@@ -35,7 +35,7 @@ static struct sysrq_key_op sysrq_xmon_op =
{ {
.handler = sysrq_handle_xmon, .handler = sysrq_handle_xmon,
.help_msg = "Xmon", .help_msg = "Xmon",
.action_msg = "Entering xmon\n", .action_msg = "Entering xmon",
}; };
static int __init setup_xmon_sysrq(void) static int __init setup_xmon_sysrq(void)
......
...@@ -32,7 +32,7 @@ static void handle_poweroff(int key, struct pt_regs *pt_regs, ...@@ -32,7 +32,7 @@ static void handle_poweroff(int key, struct pt_regs *pt_regs,
static struct sysrq_key_op sysrq_poweroff_op = { static struct sysrq_key_op sysrq_poweroff_op = {
.handler = handle_poweroff, .handler = handle_poweroff,
.help_msg = "powerOff", .help_msg = "powerOff",
.action_msg = "Power Off\n" .action_msg = "Power Off"
}; };
static int pm_sysrq_init(void) static int pm_sysrq_init(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment