diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2015-09-08 22:49:50 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2015-09-08 22:49:50 +0200 |
commit | 90b656d7e9bd288681cde6c9482d4c0ca575a431 (patch) | |
tree | befdc0efa07382a5f6bf1db58faec0100e0e2fb5 /sutils | |
parent | 2ec3b41b65f1b7ccbe219544fd922db8fe4a0b2f (diff) |
Also do not realpath "proc" pseudo-device
* sutils/fstab.c (fstab_find_device): Do not realpath "proc" pseudo-device.
Diffstat (limited to 'sutils')
-rw-r--r-- | sutils/fstab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sutils/fstab.c b/sutils/fstab.c index 24a1a0df..2e125d8d 100644 --- a/sutils/fstab.c +++ b/sutils/fstab.c @@ -490,7 +490,7 @@ fs_remount (struct fs *fs) inline struct fs * fstab_find_device (const struct fstab *fstab, const char *name) { - if (strcmp (name, "none") == 0) + if (strcmp (name, "none") == 0 || strcmp (name, "proc") == 0) return NULL; char *real_name = realpath (name, NULL); |