svn commit: r258046 - head/sys/dev/ofw

Luiz Otavio O Souza loos at FreeBSD.org
Tue Nov 12 13:44:51 UTC 2013


Author: loos
Date: Tue Nov 12 13:44:50 2013
New Revision: 258046
URL: http://svnweb.freebsd.org/changeset/base/258046

Log:
  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)

Modified:
  head/sys/dev/ofw/ofw_bus_if.m

Modified: head/sys/dev/ofw/ofw_bus_if.m
==============================================================================
--- head/sys/dev/ofw/ofw_bus_if.m	Tue Nov 12 13:34:07 2013	(r258045)
+++ head/sys/dev/ofw/ofw_bus_if.m	Tue Nov 12 13:44:50 2013	(r258046)
@@ -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;


More information about the svn-src-head mailing list