Ignore:
File:
1 edited

Legend:

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

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