summaryrefslogtreecommitdiffstats
path: root/sys/geom/nop
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2006-09-08 13:46:18 +0000
committerpjd <pjd@FreeBSD.org>2006-09-08 13:46:18 +0000
commitdd3e975df23621511b2ba0708983e25cccbc518a (patch)
tree4bd036b915874181f0043dd3ec4d51ef67679fae /sys/geom/nop
parentda4d1fe46fba751bc6b6ced0cd2caed75e4cf82b (diff)
downloadFreeBSD-src-dd3e975df23621511b2ba0708983e25cccbc518a.zip
FreeBSD-src-dd3e975df23621511b2ba0708983e25cccbc518a.tar.gz
Fix format character.
Reported by: andre
Diffstat (limited to 'sys/geom/nop')
-rw-r--r--sys/geom/nop/g_nop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/nop/g_nop.c b/sys/geom/nop/g_nop.c
index d02416f..ffa32e3 100644
--- a/sys/geom/nop/g_nop.c
+++ b/sys/geom/nop/g_nop.c
@@ -598,7 +598,7 @@ g_nop_dumpconf(struct sbuf *sb, const char *indent, struct g_geom *gp,
sc->sc_rfailprob);
sbuf_printf(sb, "%s<WriteFailProb>%u</WriteFailProb>\n", indent,
sc->sc_wfailprob);
- sbuf_printf(sb, "%s<Error>%ju</Error>\n", indent, sc->sc_error);
+ sbuf_printf(sb, "%s<Error>%d</Error>\n", indent, sc->sc_error);
sbuf_printf(sb, "%s<Reads>%ju</Reads>\n", indent, sc->sc_reads);
sbuf_printf(sb, "%s<Writes>%ju</Writes>\n", indent, sc->sc_writes);
sbuf_printf(sb, "%s<ReadBytes>%ju</ReadBytes>\n", indent,
OpenPOWER on IntegriCloud