diff options
author | Christopher Faylor <me@cgf.cx> | 2012-04-06 08:40:49 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2012-04-06 08:40:49 +0400 |
commit | 25fdb1ded1ea05613140927d83f8e3da531bd6c5 (patch) | |
tree | 1c1cbace93468194cafae72e99681629d6edccef /winsup/cygwin/path.cc | |
parent | 7217f94752d534dc00240d38e2c98751cd0b3d6a (diff) |
* path.c (path_conv::check): Avoid directly referencing fields of the dev
structure when it can be easily avoided.
Diffstat (limited to 'winsup/cygwin/path.cc')
-rw-r--r-- | winsup/cygwin/path.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc index 6c848fc6f..57183da48 100644 --- a/winsup/cygwin/path.cc +++ b/winsup/cygwin/path.cc @@ -896,7 +896,7 @@ is_virtual_symlink: if (sym.error == ENOENT && !(opt & PC_KEEP_HANDLE)) sym.error = EROFS; else - dev.d.devn = FH_FS; + dev = FH_FS; } /* If symlink.check found an existing non-symlink file, then |