aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-09-17 08:44:56 +0000
committerEric Andersen <andersen@codepoet.org>2002-09-17 08:44:56 +0000
commit927c3bdc18eda39f36d05241a95987cc586289e2 (patch)
treebf0cec7a1f406f8ffb671381c060ae2b9563cb2b
parenta9a220b92a9a88babb0080f0dfa6d27bac5edd6f (diff)
downloadbusybox-927c3bdc18eda39f36d05241a95987cc586289e2.tar.gz
Support setting depth
-rw-r--r--util-linux/fbset.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/util-linux/fbset.c b/util-linux/fbset.c
index b41612dc8..9423abc09 100644
--- a/util-linux/fbset.c
+++ b/util-linux/fbset.c
@@ -384,6 +384,9 @@ extern int fbset_main(int argc, char **argv)
case CMD_YRES:
varset.yres = strtoul(argv[1], 0, 0);
break;
+ case CMD_DEPTH:
+ varset.bits_per_pixel = strtoul(argv[1], 0, 0);
+ break;
#endif
}
argc -= g_cmdoptions[i].param_count;