diff options
Diffstat (limited to 'miscutils')
-rw-r--r-- | miscutils/Config.src | 16 | ||||
-rw-r--r-- | miscutils/fbsplash.c | 2 |
2 files changed, 4 insertions, 14 deletions
diff --git a/miscutils/Config.src b/miscutils/Config.src index d69abf1a2..06f1c52ba 100644 --- a/miscutils/Config.src +++ b/miscutils/Config.src | |||
@@ -308,23 +308,13 @@ config LAST | |||
308 | help | 308 | help |
309 | 'last' displays a list of the last users that logged into the system. | 309 | 'last' displays a list of the last users that logged into the system. |
310 | 310 | ||
311 | choice | ||
312 | prompt "Choose last implementation" | ||
313 | depends on LAST | ||
314 | default FEATURE_LAST_FANCY | ||
315 | |||
316 | config FEATURE_LAST_SMALL | ||
317 | bool "small" | ||
318 | help | ||
319 | This is a small version of last with just the basic set of | ||
320 | features. | ||
321 | |||
322 | config FEATURE_LAST_FANCY | 311 | config FEATURE_LAST_FANCY |
323 | bool "huge" | 312 | bool "Turn on output of extra information" |
313 | default y | ||
314 | depends on LAST | ||
324 | help | 315 | help |
325 | 'last' displays detailed information about the last users that | 316 | 'last' displays detailed information about the last users that |
326 | logged into the system (mimics sysvinit last). +900 bytes. | 317 | logged into the system (mimics sysvinit last). +900 bytes. |
327 | endchoice | ||
328 | 318 | ||
329 | config HDPARM | 319 | config HDPARM |
330 | bool "hdparm" | 320 | bool "hdparm" |
diff --git a/miscutils/fbsplash.c b/miscutils/fbsplash.c index 77033c258..9557c41db 100644 --- a/miscutils/fbsplash.c +++ b/miscutils/fbsplash.c | |||
@@ -150,7 +150,7 @@ static void fb_open(const char *strfb_device) | |||
150 | 150 | ||
151 | // map the device in memory | 151 | // map the device in memory |
152 | G.addr = mmap(NULL, | 152 | G.addr = mmap(NULL, |
153 | G.scr_var.yres * G.scr_fix.line_length, | 153 | (G.scr_var.yres_virtual ?: G.scr_var.yres) * G.scr_fix.line_length, |
154 | PROT_WRITE, MAP_SHARED, fbfd, 0); | 154 | PROT_WRITE, MAP_SHARED, fbfd, 0); |
155 | if (G.addr == MAP_FAILED) | 155 | if (G.addr == MAP_FAILED) |
156 | bb_perror_msg_and_die("mmap"); | 156 | bb_perror_msg_and_die("mmap"); |