Auto-commit fusermount.cpp

This commit is contained in:
Antonio SJ Musumeci 2026-04-14 22:28:02 -05:00
parent 6708911a4e
commit 24cf57d916

View file

@ -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,