Skip to content
Snippets Groups Projects
Commit b27bfc83 authored by Nahum Shalman's avatar Nahum Shalman Committed by J. Bruce Fields
Browse files

fix nfs4-acl-editor compilation on Fedora


strlcpy -> strncpy

Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent ba94f4b4
No related branches found
No related tags found
No related merge requests found
......@@ -569,7 +569,7 @@ void NFS4_ACL_Editor::syncWho(struct nfs4_ace *ace, const char *who)
if (i > strlen(ace->who)) {
dprintf("syncWho(): fromlen %d tolen %u\n", strlen(ace->who), i);
}
strlcpy(ace->who, who, NFS4_MAX_PRINCIPALSIZE);
strncpy(ace->who, who, NFS4_MAX_PRINCIPALSIZE);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment