Changeset ba18512 in mainline for src/main/kinit.c


Ignore:
Timestamp:
2005-08-30T21:33:09Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b524f816
Parents:
fa0dfaf
Message:

Switch order of 'src' and 'dst' arguments in some left-over uses of memcopy.

Cleanup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/kinit.c

    rfa0dfaf rba18512  
    132132        if (!a) panic("vm_area_create: vm_text");
    133133        vm_area_map(a, m);
    134         memcopy((__address) utext, PA2KA(a->mapping[0]), utext_size < PAGE_SIZE ? utext_size : PAGE_SIZE);
     134        memcopy(PA2KA(a->mapping[0]), (__address) utext, utext_size < PAGE_SIZE ? utext_size : PAGE_SIZE);
    135135
    136136        /*
Note: See TracChangeset for help on using the changeset viewer.