summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2010-01-23 20:32:17 -0500
committerJoe Marcus Clarke <marcus@FreeBSD.org>2010-01-23 20:32:17 -0500
commit4c1d80dd2a77adf3392ca7f9479abb727636b9e5 (patch)
tree9d8d256735e79eb0981aada8d7d259c78a9fd6d3
parent0065d6e2d15f1d3c6c46b8f23781508286b85b23 (diff)
Fix the environment variable names
Now that the property names for USB interfaces have been fixed, correct the environment variable names.
-rw-r--r--hald/freebsd/probing/probe-usb2-interface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hald/freebsd/probing/probe-usb2-interface.c b/hald/freebsd/probing/probe-usb2-interface.c
index a41e047e..9c0523a7 100644
--- a/hald/freebsd/probing/probe-usb2-interface.c
+++ b/hald/freebsd/probing/probe-usb2-interface.c
@@ -58,11 +58,11 @@ main(int argc, char **argv)
if (pbe == NULL)
goto end;
- busstr = getenv("HAL_PROP_USB_DEVICE_BUS_NUMBER");
+ busstr = getenv("HAL_PROP_USB_BUS_NUMBER");
if (! busstr)
goto end;
- addrstr = getenv("HAL_PROP_USB_DEVICE_PORT_NUMBER");
+ addrstr = getenv("HAL_PROP_USB_PORT_NUMBER");
if (! addrstr)
goto end;