X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=lib%2Fgdi%2Ffb.cpp;h=7ee555c1f266391aefc9dfba2b18d0acb7469df5;hb=6e860dd76f06031b31bac9280e9b85ab7abfdadf;hp=cde3e3572f382cc589f3207f9a743cbcba850abf;hpb=8f3cfc1d199e6402501acec0864b6b761581caa1;p=vuplus_dvbapp diff --git a/lib/gdi/fb.cpp b/lib/gdi/fb.cpp index cde3e35..7ee555c 100644 --- a/lib/gdi/fb.cpp +++ b/lib/gdi/fb.cpp @@ -83,12 +83,12 @@ nolfb: int fbClass::showConsole(int state) { - int fd=open("/dev/vc/0", O_RDWR); + int fd=open("/dev/tty0", O_RDWR); if(fd>=0) { if(ioctl(fd, KDSETMODE, state?KD_TEXT:KD_GRAPHICS)<0) { - eDebug("setting /dev/vc/0 status failed."); + eDebug("setting /dev/tty0 status failed."); } close(fd); }