Changeset 8993827 in rtems-libbsd for rtemsbsd/sys/fs/devfs/devfs_devs.c


Ignore:
Timestamp:
Mar 27, 2018, 12:40:19 PM (19 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
c1e05b9ea378b2971e3d7704779112b4bc4296da, 4a77611a223ea883fb548679b516d326a020d447
Children:
b8f7836
Parents:
7ec935e
git-author:
Sebastian Huber <sebastian.huber@…> (03/27/18 12:40:19)
git-committer:
Sebastian Huber <sebastian.huber@…> (03/27/18 12:42:46)
Message:

DEVFS(5): Properly initialize fp->f_cdevpriv

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rtemsbsd/sys/fs/devfs/devfs_devs.c

    r7ec935e r8993827  
    9999                fpop = td->td_fpop;
    100100                curthread->td_fpop = fp;
     101                fp->f_cdevpriv = NULL;
    101102                error = dsw->d_open(cdev, oflag + 1, 0, td);
    102103                /* Clean up any cdevpriv upon error. */
Note: See TracChangeset for help on using the changeset viewer.