sys/kern/subr_bus.c
/**
 * @brief Helper function for implementing BUS_PRINT_CHILD().
 *
 * This function prints the last part of the ascii representation of
 * @p child, which consists of the string @c " on " followed by the
 * name and unit of the @p dev.
 *
 * @returns the number of characters printed
 */
@brief Helper function for implementing BUS_PRINT_CHILD().
This function prints the last part of the ascii representation of
@p child, which consists of the string @c " on " followed by the
name and unit of the @p dev.

@returns the number of characters printed
@brief Helper function for implementing BUS_PRINT_CHILD () . This function prints the last part of the ascii representation of @p child which consists of the string @c " on " followed by the name and unit of the @p dev . @returns the number of characters printed
int
bus_print_child_footer(device_t dev, device_t child)
{
	return (printf(" on %s\n", device_get_nameunit(dev)));
}
int bus_print_child_footer ( device_t dev , device_t child ) { return ( printf ( " \n " , device_get_nameunit ( dev ) ) ) ; }
@brief Helper function for implementing BUS_PRINT_CHILD().
@brief Helper function for implementing BUS_PRINT_CHILD () .