summaryrefslogtreecommitdiff
path: root/dmiopt.c
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2020-07-07 14:23:13 +0200
committerJean Delvare <jdelvare@suse.de>2020-07-07 14:23:13 +0200
commitd70d5e686148eabe90c89fbf4cdcf5258db5aa05 (patch)
treec31e22ee2fc7b10decf17ffb1a532dc7ef8712a0 /dmiopt.c
parent5b3c8e9950262fc941bb5b3b3a1275720d47d62d (diff)
downloaddmidecode-git-d70d5e686148eabe90c89fbf4cdcf5258db5aa05.tar.gz
dmidecode: Adding system-sku-number support to -s option
Allow extracting the System SKU number directly via the -s option. [JD: Update the man page accordingly.] This fixes bug #58715: https://savannah.nongnu.org/bugs/?58715 Signed-off-by: Timo Teräs <timo.teras@iki.fi> Signed-off-by: Jean Delvare <jdelvare@suse.de>
Diffstat (limited to 'dmiopt.c')
-rw-r--r--dmiopt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dmiopt.c b/dmiopt.c
index 1c3b760..d08288f 100644
--- a/dmiopt.c
+++ b/dmiopt.c
@@ -158,6 +158,7 @@ static const struct string_keyword opt_string_keyword[] = {
{ "system-version", 1, 0x06 },
{ "system-serial-number", 1, 0x07 },
{ "system-uuid", 1, 0x08 }, /* dmi_system_uuid() */
+ { "system-sku-number", 1, 0x19 },
{ "system-family", 1, 0x1a },
{ "baseboard-manufacturer", 2, 0x04 },
{ "baseboard-product-name", 2, 0x05 },