aboutsummaryrefslogtreecommitdiff
path: root/src/lib/selfboot.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/selfboot.c')
-rw-r--r--src/lib/selfboot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/selfboot.c b/src/lib/selfboot.c
index 162a03443c..0746cb9011 100644
--- a/src/lib/selfboot.c
+++ b/src/lib/selfboot.c
@@ -465,7 +465,7 @@ static int load_self_segments(struct segment *head, struct prog *payload,
if ((unsigned long)end > bounce_buffer) {
if ((unsigned long)dest < bounce_buffer) {
unsigned char *from = dest;
- unsigned char *to = (unsigned char*)(lb_start-(bounce_buffer-(unsigned long)dest));
+ unsigned char *to = (unsigned char *)(lb_start-(bounce_buffer-(unsigned long)dest));
unsigned long amount = bounce_buffer-(unsigned long)dest;
printk(BIOS_DEBUG, "move prefix around: from %p, to %p, amount: %lx\n", from, to, amount);
memcpy(to, from, amount);
@@ -475,7 +475,7 @@ static int load_self_segments(struct segment *head, struct prog *payload,
unsigned long to = lb_end;
unsigned long amount = (unsigned long)end - from;
printk(BIOS_DEBUG, "move suffix around: from %lx, to %lx, amount: %lx\n", from, to, amount);
- memcpy((char*)to, (char*)from, amount);
+ memcpy((char *)to, (char *)from, amount);
}
}