Changeset 3b47db6 in mainline for uspace/srv/vfs/vfs.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/vfs/vfs.c

    rc81d4f1 r3b47db6  
    9898                printf("%s: Failed to initialize VFS node hash table\n",
    9999                    NAME);
    100                 return EXIT_RC(ENOMEM);
     100                return ENOMEM;
    101101        }
    102102       
     
    108108        if (plb == AS_MAP_FAILED) {
    109109                printf("%s: Cannot create address space area\n", NAME);
    110                 return EXIT_RC(ENOMEM);
     110                return ENOMEM;
    111111        }
    112112        memset(plb, 0, PLB_SIZE);
     
    125125        if (rc != EOK) {
    126126                printf("%s: Cannot create pager port: %s\n", NAME, str_error(rc));
    127                 return EXIT_RC(rc);
     127                return rc;
    128128        }
    129129
     
    145145        if (rc != EOK) {
    146146                printf("%s: Cannot register VFS service: %s\n", NAME, str_error(rc));
    147                 return EXIT_RC(rc);
     147                return rc;
    148148        }
    149149       
Note: See TracChangeset for help on using the changeset viewer.