summaryrefslogtreecommitdiffstats
path: root/sys/dev/ppc
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-08-24 02:28:16 +0000
committerbde <bde@FreeBSD.org>1998-08-24 02:28:16 +0000
commitf45ec220062c45b6f53f7eddeb3892a2df54ca63 (patch)
treeadd7f3aff956758872236d008a575411ee01f80a /sys/dev/ppc
parentd39f49e72d9eed2771f3bb23e90fdaa965286143 (diff)
downloadFreeBSD-src-f45ec220062c45b6f53f7eddeb3892a2df54ca63.zip
FreeBSD-src-f45ec220062c45b6f53f7eddeb3892a2df54ca63.tar.gz
Fixed printf format errors. Only one left in LINT on i386's.
Diffstat (limited to 'sys/dev/ppc')
-rw-r--r--sys/dev/ppc/ppc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/ppc/ppc.c b/sys/dev/ppc/ppc.c
index 71daa85..6828d92 100644
--- a/sys/dev/ppc/ppc.c
+++ b/sys/dev/ppc/ppc.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: ppc.c,v 1.3 1998/04/17 22:36:37 des Exp $
+ * $Id: ppc.c,v 1.4 1998/08/03 19:14:32 msmith Exp $
*
*/
#include "ppc.h"
@@ -449,8 +449,7 @@ config:
if (bootverbose) {
outb(csr, 0x1);
- printf("SMC registers CR1=0x%x", ppc->ppc_unit,
- inb(cio) & 0xff);
+ printf("SMC registers CR1=0x%x", inb(cio) & 0xff);
outb(csr, 0x4);
printf(" CR4=0x%x", inb(cio) & 0xff);
OpenPOWER on IntegriCloud