diff options
author | 2014-06-18 20:03:55 +0000 | |
---|---|---|
committer | 2014-06-18 20:03:55 +0000 | |
commit | a6c93c3da90ee8ec4c336bcc90b83c6360a754f2 (patch) | |
tree | 172b9c4ab1c6657a8885870d094eff5a86bb44a4 | |
parent | Don't display "unable to open mandoc.db" error messages (SQLITE_CANTOPEN) (diff) | |
download | wireguard-openbsd-a6c93c3da90ee8ec4c336bcc90b83c6360a754f2.tar.xz wireguard-openbsd-a6c93c3da90ee8ec4c336bcc90b83c6360a754f2.zip |
fix format string if DEBUG
-rw-r--r-- | sys/arch/mips64/mips64/cpu.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/mips64/mips64/cpu.c b/sys/arch/mips64/mips64/cpu.c index 46d85d4b12b..30560b652cd 100644 --- a/sys/arch/mips64/mips64/cpu.c +++ b/sys/arch/mips64/mips64/cpu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.c,v 1.54 2014/03/29 23:59:49 miod Exp $ */ +/* $OpenBSD: cpu.c,v 1.55 2014/06/18 20:03:55 miod Exp $ */ /* * Copyright (c) 1997-2004 Opsycon AB (www.opsycon.se) @@ -350,8 +350,8 @@ cpuattach(struct device *parent, struct device *dev, void *aux) printf("cpu%d: L2 line size %d\n", cpuno, ci->ci_l2.linesize); printf("cpu%d: cache configuration %x\n", cpuno, ci->ci_cacheconfiguration); - printf("cpu%d: virtual alias mask %p\n", cpuno, cache_valias_mask); - printf("cpu%d: config register %016x, status register %016x\n", + printf("cpu%d: virtual alias mask 0x%lx\n", cpuno, cache_valias_mask); + printf("cpu%d: config register %016lx, status register %016lx\n", cpuno, cp0_get_config(), getsr()); #endif } |