diff options
author | Iraj Jamali <ijamali@redhat.com> | 2018-12-17 11:23:59 +0530 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2019-01-11 18:25:18 +0000 |
commit | 01779e6c6c2c876a9e137d51ee1ce6a8062ea893 (patch) | |
tree | 8738a794b0ed38b84f99bc11d1442d1464a5b5fe /xlators/features | |
parent | c0c2022e7d7097e96270a74f37813eda0c4e6339 (diff) |
fix 32-bit-build-smoke warnings
fixes: bz#1622665
Change-Id: I777d67b1b62c284c62a02277238ad7538eef001e
Signed-off-by: Iraj Jamali <ijamali@redhat.com>
Diffstat (limited to 'xlators/features')
-rw-r--r-- | xlators/features/barrier/src/barrier.c | 2 | ||||
-rw-r--r-- | xlators/features/quota/src/quota.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/xlators/features/barrier/src/barrier.c b/xlators/features/barrier/src/barrier.c index 58054699132..4f8fa211d0b 100644 --- a/xlators/features/barrier/src/barrier.c +++ b/xlators/features/barrier/src/barrier.c @@ -732,7 +732,7 @@ barrier_dump_priv(xlator_t *this) gf_proc_dump_build_key(key, "barrier", "enabled"); gf_proc_dump_write(key, "%d", priv->barrier_enabled); gf_proc_dump_build_key(key, "barrier", "timeout"); - gf_proc_dump_write(key, "%" PRId64, priv->timeout.tv_sec); + gf_proc_dump_write(key, "%ld", priv->timeout.tv_sec); if (priv->barrier_enabled) { gf_proc_dump_build_key(key, "barrier", "queue_size"); gf_proc_dump_write(key, "%d", priv->queue_size); diff --git a/xlators/features/quota/src/quota.c b/xlators/features/quota/src/quota.c index 418edfc0942..8812a301924 100644 --- a/xlators/features/quota/src/quota.c +++ b/xlators/features/quota/src/quota.c @@ -5158,7 +5158,8 @@ quota_priv_dump(xlator_t *this) gf_proc_dump_write("quota-on", "%d", priv->is_quota_on); gf_proc_dump_write("statfs", "%d", priv->consider_statfs); gf_proc_dump_write("volume-uuid", "%s", priv->volume_uuid); - gf_proc_dump_write("validation-count", "%ld", priv->validation_count); + gf_proc_dump_write("validation-count", "%" PRIu64, + priv->validation_count); } UNLOCK(&priv->lock); |