summaryrefslogtreecommitdiffstats
path: root/sys/dev/asmc/asmc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/asmc/asmc.c')
-rw-r--r--sys/dev/asmc/asmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/asmc/asmc.c b/sys/dev/asmc/asmc.c
index 5933307..b61dedb 100644
--- a/sys/dev/asmc/asmc.c
+++ b/sys/dev/asmc/asmc.c
@@ -310,7 +310,7 @@ asmc_match(device_t dev)
int i;
char *model;
- model = getenv("smbios.system.product");
+ model = kern_getenv("smbios.system.product");
if (model == NULL)
return (NULL);
OpenPOWER on IntegriCloud