Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/gui/terminal.c

    r2cc1ec0 rfeeac0d  
    104104static void getterm(const char *svc, const char *app)
    105105{
    106         task_spawnl(NULL, NULL, APP_GETTERM, APP_GETTERM, svc,
    107             LOCFS_MOUNT_POINT, "--msg", "--wait", "--", app, NULL);
     106        char term[LOC_NAME_MAXLEN];
     107        snprintf(term, LOC_NAME_MAXLEN, "%s/%s", LOCFS_MOUNT_POINT, svc);
     108       
     109        /* Wait for the terminal service to be ready */
     110        service_id_t service_id;
     111        int rc = loc_service_get_id(svc, &service_id, IPC_FLAG_BLOCKING);
     112        if (rc != EOK)
     113                return;
     114       
     115        task_spawnl(NULL, APP_GETTERM, APP_GETTERM, "-w", term, app, NULL);
    108116}
    109117
     
    186194        //        for full UTF-32 coverage.
    187195       
    188         uint16_t glyph = fb_font_glyph(field->ch, NULL);
     196        uint16_t glyph = fb_font_glyph(field->ch);
    189197       
    190198        for (unsigned int y = 0; y < FONT_SCANLINES; y++) {
Note: See TracChangeset for help on using the changeset viewer.