Changeset a53ed3a in mainline for uspace/app


Ignore:
Timestamp:
2018-01-13T03:15:30Z (8 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
36df27eb, 50f19b7
Parents:
b7fd2a0
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-13 03:15:24)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-13 03:15:30)
Message:

Change (rc != 0) to (rc != EOK), where appropriate.

Location:
uspace/app
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/exec.c

    rb7fd2a0 ra53ed3a  
    118118        free(tmp);
    119119
    120         if (rc != 0) {
     120        if (rc != EOK) {
    121121                cli_error(CL_EEXEC, "%s: Cannot spawn `%s' (%s)", progname, cmd,
    122122                    str_error(rc));
  • uspace/app/tetris/screen.c

    rb7fd2a0 ra53ed3a  
    148148        errno_t rc = console_get_color_cap(console, &ccap);
    149149       
    150         if (rc != 0)
     150        if (rc != EOK)
    151151                return false;
    152152       
  • uspace/app/trace/trace.c

    rb7fd2a0 ra53ed3a  
    131131         */
    132132        rc = loader_run(task_ldr);
    133         if (rc != 0) {
     133        if (rc != EOK) {
    134134                printf("Error running program\n");
    135135                exit(1);
Note: See TracChangeset for help on using the changeset viewer.