Fork us on GitHub Follow us on Facebook Follow us on Twitter

Ignore:
Timestamp:
2012-06-01T19:26:32Z (9 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master
Children:
520acaf, 85a4350, c573e0f, e1e4192
Parents:
2f90b46
Message:

trivial changes (error code reporting, messages)

File:
1 edited

Legend:

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

    r2f90b46 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.