]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
There is not a good reason to have a different prototype for db_printf()
authorAttilio Rao <attilio@FreeBSD.org>
Tue, 11 May 2010 17:01:14 +0000 (17:01 +0000)
committerAttilio Rao <attilio@FreeBSD.org>
Tue, 11 May 2010 17:01:14 +0000 (17:01 +0000)
commit3caaaae046e53af784ed931c26526165aec0a726
treeb27d5ec4ed70f3633f0abcab31f2d96e2440f5f6
parentde6648745ce9b6ac9100f8a27f6d6d2130b4ee61
There is not a good reason to have a different prototype for db_printf()
when compared to printf().
Unify it by returning the number of characters displayed for db_printf()
as well.

MFC after: 7 days
sys/ddb/db_output.c
sys/ddb/ddb.h
sys/kern/subr_witness.c