Minor style cleanup.
Submitted by: bde MFC after: 1 week
This commit is contained in:
parent
295be3307c
commit
d52aff3c7a
@ -1147,7 +1147,7 @@ devfs_open(struct vop_open_args *ap)
|
||||
error = dsw->d_fdopen(dev, ap->a_mode, td, fp);
|
||||
else
|
||||
error = dsw->d_open(dev, ap->a_mode, S_IFCHR, td);
|
||||
/* cleanup any cdevpriv upon error */
|
||||
/* Clean up any cdevpriv upon error. */
|
||||
if (error != 0)
|
||||
devfs_clear_cdevpriv();
|
||||
td->td_fpop = fpop;
|
||||
|
Loading…
Reference in New Issue
Block a user