summaryrefslogtreecommitdiffstats
path: root/sbin/geom/class/part
diff options
context:
space:
mode:
authorbrucec <brucec@FreeBSD.org>2010-11-22 20:10:48 +0000
committerbrucec <brucec@FreeBSD.org>2010-11-22 20:10:48 +0000
commit621e6d10d808024e7f014b908cbcc5da124bd745 (patch)
tree6a56b3f4589aac0feed490c2a3650fe296d1d9b0 /sbin/geom/class/part
parent31be61effab180d09c8e91e953af32e1e7aea5e3 (diff)
downloadFreeBSD-src-621e6d10d808024e7f014b908cbcc5da124bd745.zip
FreeBSD-src-621e6d10d808024e7f014b908cbcc5da124bd745.tar.gz
Fix some more warnings found by clang.
Diffstat (limited to 'sbin/geom/class/part')
-rw-r--r--sbin/geom/class/part/geom_part.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/geom/class/part/geom_part.c b/sbin/geom/class/part/geom_part.c
index 01b7fa4..482b029 100644
--- a/sbin/geom/class/part/geom_part.c
+++ b/sbin/geom/class/part/geom_part.c
@@ -614,7 +614,7 @@ static int
gpart_show_hasopt(struct gctl_req *req, const char *opt, const char *elt)
{
- if (!gctl_get_int(req, opt))
+ if (!gctl_get_int(req, "%s", opt))
return (0);
if (elt != NULL)
OpenPOWER on IntegriCloud