BPF(9): Pass flags to bpfopen()

This commit is contained in:
Nicolas Tsiogkas 2018-07-04 07:19:01 +02:00 committed by Sebastian Huber
parent a1e4757a30
commit e6f6b5e619

View File

@ -2907,7 +2907,7 @@ bpf_imfs_open(rtems_libio_t *iop, const char *path, int oflag, mode_t mode)
{
struct bpf_d *d;
d = bpfopen(NULL, 0, 0, NULL);
d = bpfopen(NULL, oflag + 1, 0, NULL);
iop->data1 = d;
if (d != NULL) {