diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2010-04-03 21:32:54 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2010-04-03 21:32:54 +0000 |
commit | 195e05227cc6968f8c18730dae18001702b83b8a (patch) | |
tree | e46ac338e437df634fe4ca38d64813e3c4541283 /distrib/special/sysctl/sysctl.c | |
parent | e19d1ee1ac53aa03ce100276e8122f166e914c4b (diff) |
Add hw.product to the bsd.rd sysctl(8) binary. ok deraadt@
Diffstat (limited to 'distrib/special/sysctl/sysctl.c')
-rw-r--r-- | distrib/special/sysctl/sysctl.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/distrib/special/sysctl/sysctl.c b/distrib/special/sysctl/sysctl.c index 2695a92b3ea..c622b690edd 100644 --- a/distrib/special/sysctl/sysctl.c +++ b/distrib/special/sysctl/sysctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sysctl.c,v 1.5 2009/06/03 23:44:53 krw Exp $ */ +/* $OpenBSD: sysctl.c,v 1.6 2010/04/03 21:32:53 miod Exp $ */ /* * Copyright (c) 2009 Theo de Raadt <deraadt@openbsd.org> @@ -42,6 +42,8 @@ struct var vars[] = { { CTL_HW, HW_MACHINE }}, { "hw.model", pstring, 2, { CTL_HW, HW_MODEL }}, + { "hw.product", pstring, 2, + { CTL_HW, HW_PRODUCT }}, { "hw.disknames", pstring, 2, { CTL_HW, HW_DISKNAMES }}, { "hw.ncpufound", pint, 2, |