Ignore attempts to set flags to zero. This quenches a syslog warning
from login(1).
This commit is contained in:
parent
81372ff0ed
commit
eb7ba7f95c
@ -557,7 +557,7 @@ devfs_setattr(ap)
|
||||
(vap->va_fsid != VNOVAL) ||
|
||||
(vap->va_fileid != VNOVAL) ||
|
||||
(vap->va_blocksize != VNOVAL) ||
|
||||
(vap->va_flags != VNOVAL) ||
|
||||
(vap->va_flags != VNOVAL && vap->va_flags != 0) ||
|
||||
(vap->va_rdev != VNOVAL) ||
|
||||
((int)vap->va_bytes != VNOVAL) ||
|
||||
(vap->va_gen != VNOVAL)) {
|
||||
|
Loading…
Reference in New Issue
Block a user