summaryrefslogtreecommitdiff
path: root/util-linux/fbset.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/fbset.c')
-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 b41612d..9423abc 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;