Skip to content

Commit

Permalink
m68knommu: show KiB rather than pages in "Freeing initrd memory:" mes…
Browse files Browse the repository at this point in the history
…sage

Fix "Freeing initrd memory:" message m68knommu to show kilobytes as
claimed rather than number of pages.

Signed-off-by: Lennart Sorensen <[email protected]>
Signed-off-by: Greg Ungerer <[email protected]>
  • Loading branch information
Lennart Sorensen authored and gregungerer committed Sep 30, 2009
1 parent 17d857b commit cd15e8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/m68knommu/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ void free_initrd_mem(unsigned long start, unsigned long end)
totalram_pages++;
pages++;
}
printk (KERN_NOTICE "Freeing initrd memory: %dk freed\n", pages);
printk (KERN_NOTICE "Freeing initrd memory: %dk freed\n", pages * (PAGE_SIZE / 1024));
}
#endif

Expand Down

0 comments on commit cd15e8c

Please sign in to comment.