Changeset 8993827 in rtems-libbsd


Ignore:
Timestamp:
Mar 27, 2018, 12:40:19 PM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
b96abfd647154f10ea8f7fac68e25676636eded5, 9dd0bc27e3338bad08eaaf52d03265d2e7b9b4f7, 7027254d293cf3a8c888bd9f25052e96f458bc67, d164b840c3973e0793da1b3e4142b1711514b9ba
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.