Auto-commit fusermount.cpp

This commit is contained in:
Antonio SJ Musumeci 2026-04-14 22:28:02 -05:00
parent 4501bb3626
commit b0458d3b01

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,