summaryrefslogtreecommitdiffstats
path: root/sys/dev/ofw
diff options
context:
space:
mode:
authorloos <loos@FreeBSD.org>2013-11-12 13:44:50 +0000
committerloos <loos@FreeBSD.org>2013-11-12 13:44:50 +0000
commitc1e7b8113d7992650b3f256567ecce0b67fc3bdd (patch)
treed8bdb30ba3ff162b6e07051b3b15d94243751e35 /sys/dev/ofw
parent25f211ca63a1dce8fc8adcba89d159bb5e337969 (diff)
downloadFreeBSD-src-c1e7b8113d7992650b3f256567ecce0b67fc3bdd.zip
FreeBSD-src-c1e7b8113d7992650b3f256567ecce0b67fc3bdd.tar.gz
Fix a typo on a comment in ofw_bus_if.m, the default method will return -1
when a node doesn't exist. Reviewed by: nwhitehorn Approved by: adrian (mentor)
Diffstat (limited to 'sys/dev/ofw')
-rw-r--r--sys/dev/ofw/ofw_bus_if.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ofw/ofw_bus_if.m b/sys/dev/ofw/ofw_bus_if.m
index e2466b4..0034a15 100644
--- a/sys/dev/ofw/ofw_bus_if.m
+++ b/sys/dev/ofw/ofw_bus_if.m
@@ -158,7 +158,7 @@ METHOD const char * get_name {
} DEFAULT ofw_bus_default_get_name;
# Get the firmware node for the device dev on the bus. The default method will
-# return 0, which signals that there is no such node.
+# return -1, which signals that there is no such node.
METHOD phandle_t get_node {
device_t bus;
device_t dev;
OpenPOWER on IntegriCloud