(v)dprintf() calls replaced with (v)fprintf()
(v)dprintf() is not supported in os x 10.5/xcode 3.1.4 (latest powerpc version)