Changeset cf85e24c in mainline for test/mm/falloc1/test.c


Ignore:
Timestamp:
2006-04-22T23:00:26Z (19 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
12c7f27
Parents:
e692a27
Message:

printf-related and other code cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/mm/falloc1/test.c

    re692a27 rcf85e24c  
    4141
    4242void test(void) {
    43         __address * frames = (__address *) malloc(MAX_FRAMES*sizeof(__address),
    44                                                   0);
     43        __address * frames = (__address *) malloc(MAX_FRAMES*sizeof(__address), 0);
    4544        int results[MAX_ORDER+1];
    4645       
     
    6059                               
    6160                                if (ALIGN_UP(frames[allocated], FRAME_SIZE << order) != frames[allocated]) {
    62                                         panic("Test failed. Block at address %P (size %dK) is not aligned\n", frames[allocated], (FRAME_SIZE << order) >> 10);
     61                                        panic("Test failed. Block at address %p (size %dK) is not aligned\n", frames[allocated], (FRAME_SIZE << order) >> 10);
    6362                                }
    6463                               
Note: See TracChangeset for help on using the changeset viewer.