aboutsummaryrefslogtreecommitdiff
path: root/cddl/contrib/opensolaris/lib
diff options
context:
space:
mode:
authorLeandro Lupori <luporl@FreeBSD.org>2019-05-20 19:21:35 +0000
committerLeandro Lupori <luporl@FreeBSD.org>2019-05-20 19:21:35 +0000
commitff7449d6f5a43a68e92bfaeb2de1f0bc6cc3acc7 (patch)
treefa3cd631dd9eb7bbac5bcc0f82a8b962c3b845f6 /cddl/contrib/opensolaris/lib
parenta1fa04c0673094b44b3a03121f43821939a7f3b5 (diff)
downloadsrc-ff7449d6f5a43a68e92bfaeb2de1f0bc6cc3acc7.tar.gz
src-ff7449d6f5a43a68e92bfaeb2de1f0bc6cc3acc7.zip
[PowerPC64] stand: fix build using clang 8 as compiler
This change fixes "stand" build issues when using clang 8 as compiler. Submitted by: alfredo.junior_eldorado.org.br Reviewed by: jhibbits Differential Revision: https://reviews.freebsd.org/D20026
Notes
Notes: svn path=/head/; revision=348005
Diffstat (limited to 'cddl/contrib/opensolaris/lib')
-rw-r--r--cddl/contrib/opensolaris/lib/libzfs/common/libzfs_diff.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_diff.c b/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_diff.c
index c36067389585..f1ba2effd238 100644
--- a/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_diff.c
+++ b/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_diff.c
@@ -114,7 +114,7 @@ get_stats_for_obj(differ_info_t *di, const char *dsname, uint64_t obj,
(void) snprintf(di->errbuf, sizeof (di->errbuf),
dgettext(TEXT_DOMAIN,
"Unable to determine path or stats for "
- "object %lld in %s"), obj, dsname);
+ "object %jd in %s"), (uintmax_t)obj, dsname);
return (-1);
}
}
@@ -406,8 +406,8 @@ write_free_diffs(FILE *fp, differ_info_t *di, dmu_diff_record_t *dr)
} else {
(void) snprintf(di->errbuf, sizeof (di->errbuf),
dgettext(TEXT_DOMAIN,
- "next allocated object (> %lld) find failure"),
- zc.zc_obj);
+ "next allocated object (> %jd) find failure"),
+ (uintmax_t)zc.zc_obj);
di->zerr = errno;
break;
}