aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorbehlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c>2008-11-04 22:24:55 +0000
committerbehlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c>2008-11-04 22:24:55 +0000
commitb02e9b2415d1888222927ace7416821873d4b0cf (patch)
treeaa0e36389e834c842b392465b6920c761ab2bc61 /modules
parentb07335c1a77c6eb2b208a604ea97d3a438c69ec1 (diff)
Add missing initializer which is needed in an unlikely error case.
git-svn-id: https://outreach.scidac.gov/svn/spl/trunk@167 7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c
Diffstat (limited to 'modules')
-rw-r--r--modules/spl/spl-debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/spl/spl-debug.c b/modules/spl/spl-debug.c
index d4964dd6e..d2b96b0c3 100644
--- a/modules/spl/spl-debug.c
+++ b/modules/spl/spl-debug.c
@@ -642,7 +642,7 @@ spl_debug_vmsg(spl_debug_limit_state_t *cdls, int subsys, int mask,
const char *format1, va_list args, const char *format2, ...)
{
struct trace_cpu_data *tcd = NULL;
- struct spl_debug_header header;
+ struct spl_debug_header header = { 0, };
struct trace_page *tage;
/* string_buf is used only if tcd != NULL, and is always set then */
char *string_buf = NULL;