mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-06-02 01:14:01 +08:00
BPF(9): Pass flags to bpfopen()
This commit is contained in:
parent
a1e4757a30
commit
e6f6b5e619
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user