# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1256647517 0
# Node ID 8058e77a9d0ecd904b82f2f1d0f5fd8f7054b4f8
# Parent c1aada7b3341987f1eb5c9f114c12115333844af
minios: fix mistake in backporting xen-unstable:20308
Signed-off-by: Andre Przywara <andre.przywara@xxxxxxx>
---
extras/mini-os/console/console.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -r c1aada7b3341 -r 8058e77a9d0e extras/mini-os/console/console.c
--- a/extras/mini-os/console/console.c Tue Oct 27 12:43:42 2009 +0000
+++ b/extras/mini-os/console/console.c Tue Oct 27 12:45:17 2009 +0000
@@ -99,7 +99,7 @@ void console_print(char *data, int lengt
saved_char = *(curr_char+1);
*(curr_char+1) = '\n';
part_len = curr_char - copied_ptr + 2;
- ring_send_fn(dev, copied_ptr, part_len);
+ ring_send_fn(copied_ptr, part_len);
*(curr_char+1) = saved_char;
copied_ptr = curr_char+1;
length -= part_len - 1;
@@ -112,7 +112,7 @@ void console_print(char *data, int lengt
length++;
}
- ring_send_fn(dev, copied_ptr, length);
+ ring_send_fn(copied_ptr, length);
}
void print(int direct, const char *fmt, va_list args)
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|