summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;