mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-29 12:03:03 +00:00
Minor style cleanup.
Submitted by: bde MFC after: 1 week
This commit is contained in:
parent
295be3307c
commit
d52aff3c7a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=293042
@ -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