summaryrefslogtreecommitdiff
path: root/sys/src/cmd/aux/vga/main.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@localhost>2011-04-11 20:56:59 +0000
committercinap_lenrek <cinap_lenrek@localhost>2011-04-11 20:56:59 +0000
commit632defb65612ae342358a4effc5ae71c8d90b8b8 (patch)
tree73fd1ef6439f860482b9ffca78bcc5997a2958a0 /sys/src/cmd/aux/vga/main.c
parent45bab89362ebe122d60d5e9b1e2b949b26168db3 (diff)
vesa-changes
Diffstat (limited to 'sys/src/cmd/aux/vga/main.c')
-rw-r--r--sys/src/cmd/aux/vga/main.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/src/cmd/aux/vga/main.c b/sys/src/cmd/aux/vga/main.c
index 77d6ba979..2d3c6a3e7 100644
--- a/sys/src/cmd/aux/vga/main.c
+++ b/sys/src/cmd/aux/vga/main.c
@@ -158,7 +158,7 @@ main(int argc, char** argv)
{
char *bios, buf[256], sizeb[256], *p, *vsize, *psize;
char *type, *vtype;
- int fd, virtual, len;
+ int virtual, len;
Ctlr *ctlr;
Vga *vga;
@@ -455,12 +455,6 @@ main(int argc, char** argv)
else
vgactlw("hwgc", vga->hwgc->name);
- /* might as well initialize the cursor */
- if((fd = open("/dev/cursor", OWRITE)) >= 0){
- write(fd, buf, 0);
- close(fd);
- }
-
if(vga->virtx != vga->mode->x || vga->virty != vga->mode->y){
sprint(buf, "%dx%d", vga->mode->x, vga->mode->y);
vgactlw("actualsize", buf);