diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-05-10 17:33:44 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-05-10 17:34:14 +0200 |
commit | a7c54c8c1fc4101e784c101e680975f2143381ce (patch) | |
tree | 5e099806f62b4fa5f5a670970e632ccf6b7ccf37 /src/libsystemd-bus/sd-memfd.c | |
parent | c2384970ff604e6341879bc965305b84533cdebf (diff) |
bus: extend memfd test
Diffstat (limited to 'src/libsystemd-bus/sd-memfd.c')
-rw-r--r-- | src/libsystemd-bus/sd-memfd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-bus/sd-memfd.c b/src/libsystemd-bus/sd-memfd.c index 51b111e8b5..98a8e0893a 100644 --- a/src/libsystemd-bus/sd-memfd.c +++ b/src/libsystemd-bus/sd-memfd.c @@ -106,7 +106,7 @@ int sd_memfd_get_file(sd_memfd *m, FILE **f) { if (!f) return -EINVAL; - if (!m->fd) { + if (!m->f) { m->f = fdopen(m->fd, "r+"); if (!m->f) return -errno; |