Changeset c81d4f1 in mainline for uspace/lib/c/generic/str_error.c


Ignore:
Timestamp:
2018-01-04T20:50:53Z (6 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Children:
3b47db6
Parents:
847844a
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 the horrid hack named case_errno_t.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/str_error.c

    r847844a rc81d4f1  
    9696        }
    9797
    98         snprintf(noerr, NOERR_LEN, "(%d)", (int)(case_errno_t) e);
     98        snprintf(noerr, NOERR_LEN, "(%d)", (int)e);
    9999        return noerr;
    100100}
     
    108108        }
    109109
    110         snprintf(noerr, NOERR_LEN, "Unknown error code (%d)", (int)(case_errno_t) e);
     110        snprintf(noerr, NOERR_LEN, "Unknown error code (%d)", (int)e);
    111111        return noerr;
    112112}
Note: See TracChangeset for help on using the changeset viewer.