Date: Tue, 12 Nov 2013 13:44:51 +0000 (UTC) From: Luiz Otavio O Souza <loos@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r258046 - head/sys/dev/ofw Message-ID: <201311121344.rACDipBR054849@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311121344.rACDipBR054849>