diff options
author | Lennart Poettering <lennart@poettering.net> | 2017-02-17 13:51:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-17 13:51:58 +0100 |
commit | e4363cd8ae9e0db02aeb4fa45cc785925e78c80e (patch) | |
tree | c1072ba3130a025250dc06df8b2ca2e726838a57 /src/core | |
parent | ea2aa0343f91f3cd2842129e94dbf05525732e7f (diff) | |
parent | aa10469e17bd145c5d5c8c9b93438a0ee74d1ecf (diff) |
Merge pull request #5333 from poettering/machined-copy-files-userns
machined userns fixes
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/socket.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/socket.c b/src/core/socket.c index a7b9ada65c..84b7a1a82d 100644 --- a/src/core/socket.c +++ b/src/core/socket.c @@ -1340,11 +1340,11 @@ static int usbffs_write_descs(int fd, Service *s) { if (!s->usb_function_descriptors || !s->usb_function_strings) return -EINVAL; - r = copy_file_fd(s->usb_function_descriptors, fd, false); + r = copy_file_fd(s->usb_function_descriptors, fd, 0); if (r < 0) return r; - return copy_file_fd(s->usb_function_strings, fd, false); + return copy_file_fd(s->usb_function_strings, fd, 0); } static int usbffs_select_ep(const struct dirent *d) { |