Changeset 3b47db6 in mainline for uspace/srv/hid/rfb


Ignore:
Timestamp:
2018-01-04T20:50:53Z (8 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Children:
58e4d85
Parents:
c81d4f1
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 20:47:53)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 20:50:53)
Message:

(optional) Remove EXIT_RC().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/rfb/main.c

    rc81d4f1 r3b47db6  
    220220        if (rc != EOK) {
    221221                printf("%s: Unable to register server.\n", NAME);
    222                 return EXIT_RC(rc);
     222                return rc;
    223223        }
    224224
     
    226226        if (asprintf(&service_name, "rfb/%s", rfb_name) < 0) {
    227227                printf(NAME ": Unable to create service name\n");
    228                 return EXIT_RC(ENOMEM);
     228                return ENOMEM;
    229229        }
    230230
     
    234234        if (rc != EOK) {
    235235                printf(NAME ": Unable to register service %s.\n", service_name);
    236                 return EXIT_RC(rc);
     236                return rc;
    237237        }
    238238       
Note: See TracChangeset for help on using the changeset viewer.