diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2014-05-08 21:17:02 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2014-05-08 21:17:02 +0000 |
commit | 27db5d8a65b8f6c6fb8f9e033dd5f2c49aff24ec (patch) | |
tree | 56404a9ea93a805af8ba830dda9f4910fb2bfb15 /sys/arch/zaurus/dev | |
parent | 455da5aee242b188a5c369d8eed122ca7d794a99 (diff) |
Format string fixes and removal of -Wno-format for arm kernels.
Diffstat (limited to 'sys/arch/zaurus/dev')
-rw-r--r-- | sys/arch/zaurus/dev/scoop_pcic.c | 4 | ||||
-rw-r--r-- | sys/arch/zaurus/dev/zaurus_flash.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/zaurus/dev/scoop_pcic.c b/sys/arch/zaurus/dev/scoop_pcic.c index aaa50bea02c..c0672c5e61c 100644 --- a/sys/arch/zaurus/dev/scoop_pcic.c +++ b/sys/arch/zaurus/dev/scoop_pcic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: scoop_pcic.c,v 1.4 2014/04/03 10:17:34 mpi Exp $ */ +/* $OpenBSD: scoop_pcic.c,v 1.5 2014/05/08 21:17:01 miod Exp $ */ /* * Copyright (c) 2005 Uwe Stuehler <uwe@bsdx.de> @@ -105,7 +105,7 @@ scoop_pcic_socket_setup(struct pxapcic_socket *so) error = bus_space_map(iot, trunc_page(pa), round_page(size), 0, &scooph); if (error) - panic("%s: can't map memory %x for scoop", + panic("%s: can't map memory %lx for scoop", sc->sc_dev.dv_xname, pa); scooph += pa - trunc_page(pa); diff --git a/sys/arch/zaurus/dev/zaurus_flash.c b/sys/arch/zaurus/dev/zaurus_flash.c index 39a20051a57..8ded12ef0c5 100644 --- a/sys/arch/zaurus/dev/zaurus_flash.c +++ b/sys/arch/zaurus/dev/zaurus_flash.c @@ -1,4 +1,4 @@ -/* $OpenBSD: zaurus_flash.c,v 1.11 2013/06/28 18:20:04 miod Exp $ */ +/* $OpenBSD: zaurus_flash.c,v 1.12 2014/05/08 21:17:01 miod Exp $ */ /* * Copyright (c) 2005 Uwe Stuehler <uwe@openbsd.org> @@ -641,7 +641,7 @@ zflash_safe_start(struct zflash_softc *sc, dev_t dev) break; } - DPRINTF(("pblks %u lblks %u\n", sp->sp_pblks, sp->sp_lblks)); + DPRINTF(("pblks %lu lblks %lu\n", sp->sp_pblks, sp->sp_lblks)); /* Next physical block to use; randomize for wear-leveling. */ sp->sp_pnext = arc4random_uniform(sp->sp_pblks); |