[git commit] fbset: apply modelines. Closes 3823
Denys Vlasenko
vda.linux at googlemail.com
Mon Jun 6 02:21:39 UTC 2011
commit: http://git.busybox.net/busybox/commit/?id=972e04607004bc265c0b894e48996232b95dbfef
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
util-linux/fbset.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/util-linux/fbset.c b/util-linux/fbset.c
index 3be3424..196c2aa 100644
--- a/util-linux/fbset.c
+++ b/util-linux/fbset.c
@@ -385,7 +385,7 @@ int fbset_main(int argc, char **argv)
OPT_CHANGE = (1 << 0),
OPT_SHOW = (1 << 1),
OPT_READMODE = (1 << 2),
- OPT_ALL = (1 << 9),
+ OPT_ALL = (1 << 3),
};
struct fb_var_screeninfo var_old, var_set;
int fh, i;
@@ -490,6 +490,7 @@ int fbset_main(int argc, char **argv)
if (!read_mode_db(&var_old, modefile, mode)) {
bb_error_msg_and_die("unknown video mode '%s'", mode);
}
+ options |= OPT_CHANGE;
#endif
}
--
1.7.3.4
More information about the busybox-cvs
mailing list