Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/console/console.c

    r9c70ed6 ra71c158  
    319319       
    320320        if (size > PAGE_SIZE)
    321                 return (unative_t) ELIMIT;
     321                return ELIMIT;
    322322       
    323323        if (size > 0) {
    324324                data = (char *) malloc(size + 1, 0);
    325325                if (!data)
    326                         return (unative_t) ENOMEM;
     326                        return ENOMEM;
    327327               
    328328                rc = copy_from_uspace(data, buf, size);
    329329                if (rc) {
    330330                        free(data);
    331                         return (unative_t) rc;
     331                        return rc;
    332332                }
    333333                data[size] = 0;
Note: See TracChangeset for help on using the changeset viewer.