mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-07-16 21:07:26 +00:00
Change NAME_MAX to FILENAME_MAX to compile properly on Posix OS.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2219 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
parent
71f21b95c5
commit
1bd8aba6bb
@ -214,7 +214,7 @@ static int read_uidgid_files_into_objdb(
|
||||
const char *dirname;
|
||||
DIR *dp;
|
||||
struct dirent *dirent;
|
||||
char filename[PATH_MAX + NAME_MAX + 1];
|
||||
char filename[PATH_MAX + FILENAME_MAX + 1];
|
||||
int res = 0;
|
||||
struct stat stat_buf;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user