From cd40ce374eb9c7573ad69548d58d85b7fe2dbf92 Mon Sep 17 00:00:00 2001 From: Antoine Gersant Date: Sat, 6 Oct 2018 21:50:51 -0700 Subject: [PATCH] Fixed build breakage on Linux --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 7816aad..46cd092 100644 --- a/src/main.rs +++ b/src/main.rs @@ -126,7 +126,7 @@ fn daemonize(options: &getopts::Matches) -> Result<()> { } #[cfg(unix)] -fn init_log(log_level: LogLevelFilter, options: &getopts::Matches) -> Result<()> { +fn init_log(log_level: LevelFilter, options: &getopts::Matches) -> Result<()> { if options.opt_present("f") { if let Err(e) = TermLogger::init(log_level, LOG_CONFIG) { bail!("Error starting terminal logger: {}", e);