diff options
author | jhb <jhb@FreeBSD.org> | 2009-06-08 15:54:07 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2009-06-08 15:54:07 +0000 |
commit | d80013685e7d3bb010da6773a5bc970e29bfc9b0 (patch) | |
tree | bccd8f0b97b047d2c99c02d133eeaa1cc74cc24e | |
parent | 2dc666fafe020f8bcc24ac28bda58bac3f7a0b24 (diff) | |
download | FreeBSD-src-d80013685e7d3bb010da6773a5bc970e29bfc9b0.zip FreeBSD-src-d80013685e7d3bb010da6773a5bc970e29bfc9b0.tar.gz |
Change the printf format string to match the variable type to quiet
warnings.
-rw-r--r-- | sbin/geom/class/part/geom_part.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/geom/class/part/geom_part.c b/sbin/geom/class/part/geom_part.c index 84dfe58..fc179a4 100644 --- a/sbin/geom/class/part/geom_part.c +++ b/sbin/geom/class/part/geom_part.c @@ -342,13 +342,13 @@ gpart_autofill(struct gctl_req *req) return (ENOSPC); if (!has_size) { - asprintf(&val, "%jd", size); + asprintf(&val, "%llu", size); if (val == NULL) return (ENOMEM); gctl_change_param(req, "size", -1, val); } if (!has_start) { - asprintf(&val, "%jd", start); + asprintf(&val, "%llu", start); if (val == NULL) return (ENOMEM); gctl_change_param(req, "start", -1, val); |