Rafael Fontenelle
2019-01-11 17:07:03 -02:00
committed by Lubomir Rintel
parent 3f46542821
commit d81e10942f
21 changed files with 35 additions and 35 deletions

View File

@@ -365,7 +365,7 @@ int fd_get_path(int fd, char **ret) {
r = readlink_malloc(procfs_path, ret);
if (r == -ENOENT) {
/* ENOENT can mean two things: that the fd does not exist or that /proc is not mounted. Let's make
* things debuggable and distuingish the two. */
* things debuggable and distinguish the two. */
if (access("/proc/self/fd/", F_OK) < 0)
/* /proc is not available or not set up properly, we're most likely in some chroot