aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux')
-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;