Fix compilation error on alpha.

This commit is contained in:
Matt Jacob 2001-06-21 22:34:50 +00:00
parent 45ae78bcc5
commit 04438a1130
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=78569

View File

@ -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')