Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/s3c24xx_ts/s3c24xx_ts.c

    r3123d2a rf7cbc6f  
    8484int main(int argc, char *argv[])
    8585{
    86         printf("%s: S3C24xx touchscreen driver\n", NAME);
     86        int rc;
     87
     88        printf(NAME ": S3C24xx touchscreen driver\n");
    8789       
    8890        async_set_client_connection(s3c24xx_ts_connection);
    89         int rc = loc_server_register(NAME);
    90         if (rc != EOK) {
    91                 printf("%s: Unable to register driver.\n", NAME);
    92                 return rc;
     91        rc = loc_server_register(NAME);
     92        if (rc < 0) {
     93                printf(NAME ": Unable to register driver.\n");
     94                return -1;
    9395        }
    9496
Note: See TracChangeset for help on using the changeset viewer.