summaryrefslogtreecommitdiffstats
path: root/sbin/mdmfs
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>2001-06-21 22:34:50 +0000
committermjacob <mjacob@FreeBSD.org>2001-06-21 22:34:50 +0000
commitcaef7b425f02b4e9372714e155b843cb011e73ff (patch)
tree24fbd40fe95b83f2cb7a1668dfd612450f8e9af8 /sbin/mdmfs
parent10b6f524b9e90ba68df64f9690debdd046f3a710 (diff)
downloadFreeBSD-src-caef7b425f02b4e9372714e155b843cb011e73ff.zip
FreeBSD-src-caef7b425f02b4e9372714e155b843cb011e73ff.tar.gz
Fix compilation error on alpha.
Diffstat (limited to 'sbin/mdmfs')
-rw-r--r--sbin/mdmfs/mdmfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/mdmfs/mdmfs.c b/sbin/mdmfs/mdmfs.c
index 2debcea..3b55ed9 100644
--- a/sbin/mdmfs/mdmfs.c
+++ b/sbin/mdmfs/mdmfs.c
@@ -493,7 +493,7 @@ extract_ugid(const char *str, struct mtpt_info *mip)
assert(ug != NULL);
rv = strlcpy(ug, str, strl);
if (rv >= strl)
- errx(1, "-w word too long (%d >= %d)", rv, strl);
+ errx(1, "-w word too long (%ld >= %ld)", (long)rv, (long)strl);
group = ug;
user = strsep(&group, ":");
if (user == NULL || group == NULL || *user == '\0' || *group == '\0')
OpenPOWER on IntegriCloud