diff options
author | mjacob <mjacob@FreeBSD.org> | 2001-06-21 22:34:50 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2001-06-21 22:34:50 +0000 |
commit | caef7b425f02b4e9372714e155b843cb011e73ff (patch) | |
tree | 24fbd40fe95b83f2cb7a1668dfd612450f8e9af8 /sbin/mdmfs | |
parent | 10b6f524b9e90ba68df64f9690debdd046f3a710 (diff) | |
download | FreeBSD-src-caef7b425f02b4e9372714e155b843cb011e73ff.zip FreeBSD-src-caef7b425f02b4e9372714e155b843cb011e73ff.tar.gz |
Fix compilation error on alpha.
Diffstat (limited to 'sbin/mdmfs')
-rw-r--r-- | sbin/mdmfs/mdmfs.c | 2 |
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') |