fix printf format types.
This commit is contained in:
parent
69dc3a4695
commit
6b8f2e95a4
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: clock.c,v 1.24 1999/02/23 02:56:40 ross Exp $ */
|
||||
/* $NetBSD: clock.c,v 1.25 1999/03/04 06:46:43 chs Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988 University of Utah.
|
||||
@ -44,7 +44,7 @@
|
||||
|
||||
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
|
||||
|
||||
__KERNEL_RCSID(0, "$NetBSD: clock.c,v 1.24 1999/02/23 02:56:40 ross Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: clock.c,v 1.25 1999/03/04 06:46:43 chs Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
@ -223,7 +223,7 @@ inittodr(base)
|
||||
dt.dt_sec = ct.sec;
|
||||
time.tv_sec = clock_ymdhms_to_secs(&dt);
|
||||
#ifdef DEBUG
|
||||
printf("=>%ld (%ld)\n", time.tv_sec, base);
|
||||
printf("=>%ld (%d)\n", time.tv_sec, base);
|
||||
#endif
|
||||
|
||||
if (!badbase) {
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: cpu.c,v 1.34 1999/02/23 03:20:01 thorpej Exp $ */
|
||||
/* $NetBSD: cpu.c,v 1.35 1999/03/04 06:46:23 chs Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
|
||||
@ -66,7 +66,7 @@
|
||||
|
||||
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
|
||||
|
||||
__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.34 1999/02/23 03:20:01 thorpej Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.35 1999/03/04 06:46:23 chs Exp $");
|
||||
|
||||
#include "opt_multiprocessor.h"
|
||||
|
||||
@ -237,7 +237,7 @@ recognized:
|
||||
#ifdef DEBUG
|
||||
/* XXX SHOULD CHECK ARCHITECTURE MASK, TOO */
|
||||
if (p->pcs_proc_var != 0) {
|
||||
printf("%s: ", sc->sc_dev.dv_xname);
|
||||
printf("%s: ", dev->dv_xname);
|
||||
|
||||
needcomma = 0;
|
||||
if (p->pcs_proc_var & PCS_VAR_VAXFP) {
|
||||
|
Loading…
Reference in New Issue
Block a user