Fix compilation error on alpha.
This commit is contained in:
parent
45ae78bcc5
commit
04438a1130
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=78569
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user