diff options
author | trociny <trociny@FreeBSD.org> | 2013-02-26 20:19:45 +0000 |
---|---|---|
committer | trociny <trociny@FreeBSD.org> | 2013-02-26 20:19:45 +0000 |
commit | b5ecc3cb1f1f9a7a514c1ed55d1d048484bcfbfd (patch) | |
tree | e5b72bc0357e98bb5fbe0fdb4df332b2217653eb | |
parent | 97e63956d84c0b3ed37d37872b07c7a4b0ac7fc6 (diff) | |
download | FreeBSD-src-b5ecc3cb1f1f9a7a514c1ed55d1d048484bcfbfd.zip FreeBSD-src-b5ecc3cb1f1f9a7a514c1ed55d1d048484bcfbfd.tar.gz |
Fix casting.
MFC after: 3 days
-rw-r--r-- | sbin/hastctl/hastctl.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sbin/hastctl/hastctl.c b/sbin/hastctl/hastctl.c index 503072c..3dfde03 100644 --- a/sbin/hastctl/hastctl.c +++ b/sbin/hastctl/hastctl.c @@ -342,15 +342,15 @@ control_status(struct nv *nv) (intmax_t)nv_get_uint64(nv, "dirty%u", ii)); printf(" statistics:\n"); printf(" reads: %ju\n", - (uint64_t)nv_get_uint64(nv, "stat_read%u", ii)); + (uintmax_t)nv_get_uint64(nv, "stat_read%u", ii)); printf(" writes: %ju\n", - (uint64_t)nv_get_uint64(nv, "stat_write%u", ii)); + (uintmax_t)nv_get_uint64(nv, "stat_write%u", ii)); printf(" deletes: %ju\n", - (uint64_t)nv_get_uint64(nv, "stat_delete%u", ii)); + (uintmax_t)nv_get_uint64(nv, "stat_delete%u", ii)); printf(" flushes: %ju\n", - (uint64_t)nv_get_uint64(nv, "stat_flush%u", ii)); + (uintmax_t)nv_get_uint64(nv, "stat_flush%u", ii)); printf(" activemap updates: %ju\n", - (uint64_t)nv_get_uint64(nv, "stat_activemap_update%u", ii)); + (uintmax_t)nv_get_uint64(nv, "stat_activemap_update%u", ii)); printf(" local errors: " "read: %ju, write: %ju, delete: %ju, flush: %ju\n", (uintmax_t)nv_get_uint64(nv, "stat_read_error%u", ii), |