Changeset 3b47db6 in mainline for uspace/srv/bd/file_bd/file_bd.c


Ignore:
Timestamp:
2018-01-04T20:50:53Z (6 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/bd/file_bd/file_bd.c

    rc81d4f1 r3b47db6  
    138138                printf("%s: Unable to register device '%s': %s.\n",
    139139                    NAME, device_name, str_error(rc));
    140                 return EXIT_RC(rc);
     140                return rc;
    141141        }
    142142
     
    144144        if (rc != EOK) {
    145145                printf("%s: Failed resolving category 'disk': %s\n", NAME, str_error(rc));
    146                 return EXIT_RC(rc);
     146                return rc;
    147147        }
    148148
     
    151151                printf("%s: Failed adding %s to category: %s",
    152152                    NAME, device_name, str_error(rc));
    153                 return EXIT_RC(rc);
     153                return rc;
    154154        }
    155155
Note: See TracChangeset for help on using the changeset viewer.