projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix some compiler warnings emitted by gcc-4.8.0
[oweals/busybox.git]
/
miscutils
/
fbsplash.c
diff --git
a/miscutils/fbsplash.c
b/miscutils/fbsplash.c
index 05a77da237d6b0ded1912f1e71e4c70dc0d908e5..12a77b70f01ef6a9b4d0b2c4269ce34bf54405dd 100644
(file)
--- a/
miscutils/fbsplash.c
+++ b/
miscutils/fbsplash.c
@@
-150,7
+150,7
@@
static void fb_open(const char *strfb_device)
// map the device in memory
G.addr = mmap(NULL,
- G.scr_var.yres * G.scr_fix.line_length,
+ G.scr_var.yres * G.scr_fix.line_length,
PROT_WRITE, MAP_SHARED, fbfd, 0);
if (G.addr == MAP_FAILED)
bb_perror_msg_and_die("mmap");