diff options
Diffstat (limited to 'change_log.cc')
-rw-r--r-- | change_log.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/change_log.cc b/change_log.cc index dc245da..5ca0e8e 100644 --- a/change_log.cc +++ b/change_log.cc @@ -33,7 +33,7 @@ void init() { fd_guard = std::make_unique<io::FileDescriptorGuard>( getenv("CHANGE_LOG_TARGET") ); - log = std::make_unique<utility::Logger>(fd_guard->fd); + log = std::make_unique<utility::Logger>(*fd_guard); } else { log = std::make_unique<utility::Logger>(STDERR_FILENO); } |