summaryrefslogtreecommitdiff
path: root/arch/x86/lib/video.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/lib/video.c')
-rw-r--r--arch/x86/lib/video.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/lib/video.c b/arch/x86/lib/video.c
index 0efcf3f453..3d6b24d620 100644
--- a/arch/x86/lib/video.c
+++ b/arch/x86/lib/video.c
@@ -123,7 +123,7 @@ static void __video_putc(const char c, int *x, int *y)
static void video_putc(const char c)
{
- int x,y,pos;
+ int x, y, pos;
x = orig_x;
y = orig_y;
@@ -142,7 +142,7 @@ static void video_putc(const char c)
static void video_puts(const char *s)
{
- int x,y,pos;
+ int x, y, pos;
char c;
x = orig_x;
@@ -187,7 +187,7 @@ int video_init(void)
printf("pos %x %d %d\n", pos, orig_x, orig_y);
#endif
if (orig_y > lines)
- orig_x = orig_y =0;
+ orig_x = orig_y = 0;
memset(&vga_dev, 0, sizeof(vga_dev));
strcpy(vga_dev.name, "vga");