summaryrefslogtreecommitdiff
path: root/sys/dev/hatm
diff options
context:
space:
mode:
authorDavide Italiano <davide@FreeBSD.org>2014-10-16 18:04:43 +0000
committerDavide Italiano <davide@FreeBSD.org>2014-10-16 18:04:43 +0000
commit2be111bf7dda0f18d645f0e201b6555bbe3da1ac (patch)
treef232fa8c3b1009450da57b71fb0323893520f81c /sys/dev/hatm
parent148bdd15d5cb3873e94e61b2678ce2ad208e3a93 (diff)
Notes
Diffstat (limited to 'sys/dev/hatm')
-rw-r--r--sys/dev/hatm/if_hatm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/hatm/if_hatm.c b/sys/dev/hatm/if_hatm.c
index c022724f4daa..0be8a3d17b83 100644
--- a/sys/dev/hatm/if_hatm.c
+++ b/sys/dev/hatm/if_hatm.c
@@ -1319,7 +1319,7 @@ kenv_getuint(struct hatm_softc *sc, const char *var,
snprintf(full, sizeof(full), "hw.%s.%s",
device_get_nameunit(sc->dev), var);
- if ((val = getenv(full)) == NULL)
+ if ((val = kern_getenv(full)) == NULL)
return (0);
u = strtoul(val, &end, 0);
if (end == val || *end != '\0') {