Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset ee6f434 in mainline


Ignore:
Timestamp:
2017-12-29T18:05:46Z (4 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master
Children:
db3089d
Parents:
48fd597
Message:

A few more minor errno tweaks.

Location:
kernel
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/abs32le/src/abs32le.c

    r48fd597 ree6f434  
    105105int context_save_arch(context_t *ctx)
    106106{
    107         return 1;
     107        return EOK;
    108108}
    109109
  • kernel/arch/sparc64/src/mm/sun4u/as.c

    r48fd597 ree6f434  
    6565        uintptr_t tsb_base = frame_alloc(TSB_FRAMES, flags, TSB_SIZE - 1);
    6666        if (!tsb_base)
    67                 return -1;
     67                return ENOMEM;
    6868
    6969        tsb_entry_t *tsb = (tsb_entry_t *) PA2KA(tsb_base);
     
    7474#endif
    7575       
    76         return 0;
     76        return EOK;
    7777}
    7878
  • kernel/arch/sparc64/src/mm/sun4v/as.c

    r48fd597 ree6f434  
    6868        uintptr_t tsb_base = frame_alloc(TSB_FRAMES, flags, TSB_SIZE - 1);
    6969        if (!tsb_base)
    70                 return -1;
     70                return ENOMEM;
    7171
    7272        tsb_entry_t *tsb = (tsb_entry_t *) PA2KA(tsb_base);
     
    8383#endif
    8484       
    85         return 0;
     85        return EOK;
    8686}
    8787
     
    103103#endif
    104104       
    105         return 0;
     105        return EOK;
    106106}
    107107
  • kernel/generic/src/lib/str_error.c

    r48fd597 ree6f434  
    3838
    3939#undef __errno_entry
    40 #define __errno_entry(name, num, desc) num,
     40#define __errno_entry(name, num, desc) name,
    4141
    4242static const int err_num[] = {
Note: See TracChangeset for help on using the changeset viewer.