Changeset 51c1b003 in mainline for fb/fb.c


Ignore:
Timestamp:
2006-05-29T13:34:40Z (19 years ago)
Author:
Josef Cejka <malyzelenyhnus@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
854387b
Parents:
d1e70c7
Message:

First attempt to uspace console. Not working yet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fb/fb.c

    rd1e70c7 r51c1b003  
    161161        ipcarg_t retval, arg1, arg2;
    162162
    163         if(!sysinfo_value("fb")) return -1;
    164 
     163        if(!sysinfo_value("fb")) {
     164                printf("Framebuffer initialization failed.\n");
     165                return -1;
     166        }
    165167
    166168        if ((res = ipc_connect_to_me(PHONE_NS, SERVICE_VIDEO, 0, &phonead)) != 0)
    167169                return -1;
    168170       
    169         init_fb();
     171        if (init_fb() != 0) {
     172                printf("Framebuffer initialization failed.\n");
     173                return -1;
     174        }
    170175
    171176        async_manager();
Note: See TracChangeset for help on using the changeset viewer.