Commit 0b6e72b3 authored by David Mosberger's avatar David Mosberger

ia64: Fix printing of memory attributes.

parent 51bba81a
...@@ -333,10 +333,11 @@ vm_info(char *page) ...@@ -333,10 +333,11 @@ vm_info(char *page)
sep = ""; sep = "";
for (i = 0; i < 8; i++) { for (i = 0; i < 8; i++) {
if (attrib & (1 << i)) { if (attrib & (1 << i)) {
p += sprintf(p, "%s%s\n", sep, mem_attrib[i]); p += sprintf(p, "%s%s", sep, mem_attrib[i]);
sep = ", "; sep = ", ";
} }
} }
p += sprintf(p, "\n");
if ((status=ia64_pal_vm_page_size(&tr_pages, &vw_pages)) !=0) { if ((status=ia64_pal_vm_page_size(&tr_pages, &vw_pages)) !=0) {
printk("ia64_pal_vm_page_size=%ld\n", status); printk("ia64_pal_vm_page_size=%ld\n", status);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment