summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--distrib/special/sysctl/sysctl.c4
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,