Ignore attempts to set flags to zero. This quenches a syslog warning

from login(1).
This commit is contained in:
Poul-Henning Kamp 2000-09-18 09:40:01 +00:00
parent 81372ff0ed
commit eb7ba7f95c

View File

@ -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)) {