aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/hvc_xen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/hvc_xen.c b/drivers/char/hvc_xen.c
index 2413af342a81..d5fe0a8952fa 100644
--- a/drivers/char/hvc_xen.c
+++ b/drivers/char/hvc_xen.c
@@ -155,6 +155,7 @@ static void xenboot_write_console(struct console *console, const char *string,
155 155
156 raw_console_write(string, len); 156 raw_console_write(string, len);
157 157
158 write_console(0, "(early) ", 8);
158 while (off < len && NULL != (pos = strchr(string+off, '\n'))) { 159 while (off < len && NULL != (pos = strchr(string+off, '\n'))) {
159 linelen = pos-string+off; 160 linelen = pos-string+off;
160 if (off + linelen > len) 161 if (off + linelen > len)