From 99e984c8d42d070b83ea27bd10dee8f195b5149b Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 12 Feb 2020 22:30:22 +0300 Subject: Adapt to renaming butl::fdnull() to fdopen_null() --- bbot/agent/agent.cxx | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'bbot/agent/agent.cxx') diff --git a/bbot/agent/agent.cxx b/bbot/agent/agent.cxx index 80eeae5..2c4e03e 100644 --- a/bbot/agent/agent.cxx +++ b/bbot/agent/agent.cxx @@ -93,9 +93,9 @@ inline void run_btrfs (tracer& t, A&&... a) { if (verb >= 4) - run_io (t, fdnull (), 2, 2, "btrfs", forward (a)...); + run_io (t, fdopen_null (), 2, 2, "btrfs", forward (a)...); else - run_io (t, fdnull (), fdnull (), 2, "btrfs", forward (a)...); + run_io (t, fdopen_null (), fdopen_null (), 2, "btrfs", forward (a)...); } template @@ -103,8 +103,10 @@ inline butl::process_exit::code_type btrfs_exit (tracer& t, A&&... a) { return verb >= 4 - ? run_io_exit (t, fdnull (), 2, 2, "btrfs", forward (a)...) - : run_io_exit (t, fdnull (), fdnull (), 2, "btrfs", forward (a)...); + ? run_io_exit (t, fdopen_null (), 2, 2, "btrfs", forward (a)...) + : run_io_exit (t, + fdopen_null (), fdopen_null (), 2, + "btrfs", forward (a)...); } // Bootstrap the machine. Return the bootstrapped machine manifest if @@ -1194,7 +1196,7 @@ try throw_generic_error (ENOENT); openssl os (trace, - ops.auth_key (), path ("-"), fdnull (), + ops.auth_key (), path ("-"), fdopen_null (), ops.openssl (), "rsa", ops.openssl_option (), "-pubout", "-outform", "DER"); -- cgit v1.1