diff options
author | 2022-07-11 21:16:44 +0200 | |
---|---|---|
committer | 2022-07-11 21:28:34 +0200 | |
commit | 604cbd3afcb19a65ba9c0a53d49fc89cb661bffb (patch) | |
tree | abfe7f63fee81237ef165272d10f467223271a57 /src/firejail/util.c | |
parent | aria2c.profile: add comment to winetricks workaround (diff) | |
download | firejail-604cbd3afcb19a65ba9c0a53d49fc89cb661bffb.tar.gz firejail-604cbd3afcb19a65ba9c0a53d49fc89cb661bffb.tar.zst firejail-604cbd3afcb19a65ba9c0a53d49fc89cb661bffb.zip |
simplify put option
copy using file descriptors, similar
to implementation of get option
Diffstat (limited to 'src/firejail/util.c')
-rw-r--r-- | src/firejail/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firejail/util.c b/src/firejail/util.c index a35ad469e..a01290cf2 100644 --- a/src/firejail/util.c +++ b/src/firejail/util.c | |||
@@ -406,7 +406,7 @@ void set_nice(int inc) { | |||
406 | } | 406 | } |
407 | 407 | ||
408 | 408 | ||
409 | static int copy_file_by_fd(int src, int dst) { | 409 | int copy_file_by_fd(int src, int dst) { |
410 | assert(src >= 0); | 410 | assert(src >= 0); |
411 | assert(dst >= 0); | 411 | assert(dst >= 0); |
412 | 412 | ||