Changeset 8993827 in rtems-libbsd


Ignore:
Timestamp:
Mar 27, 2018, 12:40:19 PM (14 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
b5f8d4831d66364b7391e3660560cb9bbecada2e, 31b5c87357cee83d6a3419c5d801a9bf16912714
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.