aboutsummaryrefslogtreecommitdiff
path: root/src/rust/tor_util/ffi.rs
diff options
context:
space:
mode:
authorChelsea Holland Komlo <me@chelseakomlo.com>2018-01-22 18:33:22 -0500
committerChelsea Holland Komlo <me@chelseakomlo.com>2018-01-22 18:33:22 -0500
commitd0184963f9731bea82db1958c885ea1e7f7c42d1 (patch)
tree294554d17f90d0a4d495387b4abdb40ab414a5c6 /src/rust/tor_util/ffi.rs
parent510a91af533afb48f9ad8b64d3d2bc4cd707d9b6 (diff)
downloadtor-d0184963f9731bea82db1958c885ea1e7f7c42d1.tar.gz
tor-d0184963f9731bea82db1958c885ea1e7f7c42d1.zip
fixups from code review
Diffstat (limited to 'src/rust/tor_util/ffi.rs')
-rw-r--r--src/rust/tor_util/ffi.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rust/tor_util/ffi.rs b/src/rust/tor_util/ffi.rs
index a9a6cf895c..a803dae26d 100644
--- a/src/rust/tor_util/ffi.rs
+++ b/src/rust/tor_util/ffi.rs
@@ -16,10 +16,10 @@ use tor_log::{LogSeverity, LogDomain};
/// tor_free(rust_str);
/// ```
#[no_mangle]
-pub extern "C" fn rust_welcome_string() {
+pub extern "C" fn rust_log_welcome_string() {
tor_log_msg!(
LogSeverity::Notice,
- LogDomain::LdGeneral,
+ LogDomain::General,
"rust_welcome_string",
"Tor is running with Rust integration. Please report \
any bugs you encounter."