aboutsummaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2015-10-31 17:13:47 +0000
committerRon Yorston <rmy@pobox.com>2015-10-31 17:13:47 +0000
commit4432dbba6559d3d88e18ecf2c33d9e5a39e82074 (patch)
treef6db886523a04e0b45926336223ff8c32761dc43 /miscutils
parentbc09f29f78547856e2152dc47051aeed548f28e8 (diff)
parent6bd3fff51aa74e2ee2d87887b12182a3b09792ef (diff)
downloadbusybox-w32-4432dbba6559d3d88e18ecf2c33d9e5a39e82074.tar.gz
busybox-w32-4432dbba6559d3d88e18ecf2c33d9e5a39e82074.tar.bz2
busybox-w32-4432dbba6559d3d88e18ecf2c33d9e5a39e82074.zip
Merge branch 'busybox' into merge
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/Config.src16
-rw-r--r--miscutils/fbsplash.c2
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
311choice
312 prompt "Choose last implementation"
313 depends on LAST
314 default FEATURE_LAST_FANCY
315
316config 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
322config FEATURE_LAST_FANCY 311config 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.
327endchoice
328 318
329config HDPARM 319config 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");