]> granicus.if.org Git - spl/commitdiff
Add missing initializer which is needed in an unlikely error case.
authorbehlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c>
Tue, 4 Nov 2008 22:24:55 +0000 (22:24 +0000)
committerbehlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c>
Tue, 4 Nov 2008 22:24:55 +0000 (22:24 +0000)
git-svn-id: https://outreach.scidac.gov/svn/spl/trunk@167 7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c

modules/spl/spl-debug.c

index d4964dd6e6ce9fe93a6e694f3ed758e60b3b6ba5..d2b96b0c346c442a4ca0a22ddde16bccdddf9c88 100644 (file)
@@ -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;