aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/um/os-Linux/task_size.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/um/os-Linux/task_size.c b/arch/x86/um/os-Linux/task_size.c
index 8502ad30e61b..5adb6a2fd117 100644
--- a/arch/x86/um/os-Linux/task_size.c
+++ b/arch/x86/um/os-Linux/task_size.c
@@ -109,7 +109,7 @@ unsigned long os_get_top_address(void)
109 exit(1); 109 exit(1);
110 } 110 }
111 111
112 printf("0x%x\n", bottom << UM_KERN_PAGE_SHIFT); 112 printf("0x%lx\n", bottom << UM_KERN_PAGE_SHIFT);
113 printf("Locating the top of the address space ... "); 113 printf("Locating the top of the address space ... ");
114 fflush(stdout); 114 fflush(stdout);
115 115
@@ -134,7 +134,7 @@ out:
134 exit(1); 134 exit(1);
135 } 135 }
136 top <<= UM_KERN_PAGE_SHIFT; 136 top <<= UM_KERN_PAGE_SHIFT;
137 printf("0x%x\n", top); 137 printf("0x%lx\n", top);
138 138
139 return top; 139 return top;
140} 140}