diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-05-06 18:18:01 +0000 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-05-29 18:02:57 +0000 |
| commit | aa0e96ed1c148aa5d5d91ba64a1ecb73282190a8 (patch) | |
| tree | 5619ecce02abf1551556fafa1c48047f0e8ceb17 /lib/log.c | |
| parent | ee74220baf60f260795157f08c7c94c22fd225e7 (diff) | |
lib: fix uninitialized variable in backtrace output
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/log.c')
| -rw-r--r-- | lib/log.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -602,6 +602,8 @@ void zlog_backtrace_sigsafe(int priority, void *program_counter) backtrace_symbols_fd(array, size, FD); \ } #elif defined(HAVE_PRINTSTACK) + size = 0; + #define DUMP(FD) \ { \ if (program_counter) \ |
