mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-21 07:26:28 -05:00
Auto-commit fusermount.cpp
This commit is contained in:
parent
4501bb3626
commit
b0458d3b01
1 changed files with 1 additions and 1 deletions
|
|
@ -992,7 +992,7 @@ static int check_perm(const char **mntp, struct stat *stbuf, int *mountpoint_fd)
|
|||
return -1;
|
||||
}
|
||||
|
||||
sprintf(procfile, "/proc/self/fd/%i", *mountpoint_fd);
|
||||
snprintf(procfile,sizeof(procfile),"/proc/self/fd/%i",*mountpoint_fd);
|
||||
*mntp = procfile;
|
||||
} else {
|
||||
fprintf(stderr,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue