commit | f3730dd0938b3e21c7fc45b1a3e70abdf3d87801 | [log] [tgz] |
---|---|---|
author | Adrian Brandemuehl <abrandemuehl@gmail.com> | Wed Nov 09 22:27:23 2016 -0600 |
committer | Adrian Brandemuehl <abrandemuehl@gmail.com> | Wed Nov 09 22:27:23 2016 -0600 |
tree | acdcd610c3ecc9896769443c21359681c4fbc580 | |
parent | df79d11945cc41373e71a1531d258748d2aad703 [diff] [blame] |
Fix Logging Uninitialized name_ Change-Id: Ie02ac6ce8e61c180943c7a405db41e74cb77adf4
diff --git a/aos/linux_code/ipc_lib/queue.cc b/aos/linux_code/ipc_lib/queue.cc index 2738e85..b874b08 100644 --- a/aos/linux_code/ipc_lib/queue.cc +++ b/aos/linux_code/ipc_lib/queue.cc
@@ -195,7 +195,7 @@ if (queue_length < 1) { LOG(FATAL, "queue length %d of %s needs to be at least 1\n", queue_length, - name_); + name); } const size_t name_size = strlen(name) + 1;