summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom_mbr.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-03-28 10:09:24 +0000
committerphk <phk@FreeBSD.org>2002-03-28 10:09:24 +0000
commite11a1be17eba2b9cbc07d42a9ebe9a746aa77ad2 (patch)
treefb0250a8b041e644c6efdcd2b455c023c53aac58 /sys/geom/geom_mbr.c
parent2475368c6178ad8081b1dfc31db1adc2e254ea3e (diff)
downloadFreeBSD-src-e11a1be17eba2b9cbc07d42a9ebe9a746aa77ad2.zip
FreeBSD-src-e11a1be17eba2b9cbc07d42a9ebe9a746aa77ad2.tar.gz
In the absense of any smarter way to do this, cast various printf
arguments to silence printf format warnings.
Diffstat (limited to 'sys/geom/geom_mbr.c')
-rw-r--r--sys/geom/geom_mbr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/geom_mbr.c b/sys/geom/geom_mbr.c
index 569242d..e2e199d 100644
--- a/sys/geom/geom_mbr.c
+++ b/sys/geom/geom_mbr.c
@@ -176,7 +176,7 @@ g_mbr_taste(struct g_class *mp, struct g_provider *pp, int insist)
if (sizeof(struct dos_partition) != 16) {
printf("WARNING: struct dos_partition compiles to %d bytes, should be 16.\n",
- sizeof(struct dos_partition));
+ (int)sizeof(struct dos_partition));
return (NULL);
}
g_trace(G_T_TOPOLOGY, "mbr_taste(%s,%s)", mp->name, pp->name);
OpenPOWER on IntegriCloud