aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2011-06-06 04:21:39 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2011-06-06 04:21:39 +0200
commit972e04607004bc265c0b894e48996232b95dbfef (patch)
treedb0a2664630673266c3141508c0263d0761e6589
parentd7efa06b83a629d17b57ba42b36a412deb9af984 (diff)
downloadbusybox-w32-972e04607004bc265c0b894e48996232b95dbfef.tar.gz
busybox-w32-972e04607004bc265c0b894e48996232b95dbfef.tar.bz2
busybox-w32-972e04607004bc265c0b894e48996232b95dbfef.zip
fbset: apply modelines. Closes 3823
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--util-linux/fbset.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/util-linux/fbset.c b/util-linux/fbset.c
index 3be342481..196c2aa24 100644
--- a/util-linux/fbset.c
+++ b/util-linux/fbset.c
@@ -385,7 +385,7 @@ int fbset_main(int argc, char **argv)
385 OPT_CHANGE = (1 << 0), 385 OPT_CHANGE = (1 << 0),
386 OPT_SHOW = (1 << 1), 386 OPT_SHOW = (1 << 1),
387 OPT_READMODE = (1 << 2), 387 OPT_READMODE = (1 << 2),
388 OPT_ALL = (1 << 9), 388 OPT_ALL = (1 << 3),
389 }; 389 };
390 struct fb_var_screeninfo var_old, var_set; 390 struct fb_var_screeninfo var_old, var_set;
391 int fh, i; 391 int fh, i;
@@ -490,6 +490,7 @@ int fbset_main(int argc, char **argv)
490 if (!read_mode_db(&var_old, modefile, mode)) { 490 if (!read_mode_db(&var_old, modefile, mode)) {
491 bb_error_msg_and_die("unknown video mode '%s'", mode); 491 bb_error_msg_and_die("unknown video mode '%s'", mode);
492 } 492 }
493 options |= OPT_CHANGE;
493#endif 494#endif
494 } 495 }
495 496