From 3e978579d3fdbb355a898aeef134507838d727c6 Mon Sep 17 00:00:00 2001 From: christos Date: Wed, 13 Dec 2006 16:51:27 +0000 Subject: [PATCH] add missing initializer. --- sys/kern/subr_prof.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/kern/subr_prof.c b/sys/kern/subr_prof.c index 8efc83836409..8e2ac00bdbf8 100644 --- a/sys/kern/subr_prof.c +++ b/sys/kern/subr_prof.c @@ -1,4 +1,4 @@ -/* $NetBSD: subr_prof.c,v 1.36 2006/11/01 10:17:59 yamt Exp $ */ +/* $NetBSD: subr_prof.c,v 1.37 2006/12/13 16:51:27 christos Exp $ */ /*- * Copyright (c) 1982, 1986, 1993 @@ -32,7 +32,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: subr_prof.c,v 1.36 2006/11/01 10:17:59 yamt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: subr_prof.c,v 1.37 2006/12/13 16:51:27 christos Exp $"); #include #include @@ -55,7 +55,7 @@ MALLOC_DEFINE(M_GPROF, "gprof", "kernel profiling buffer"); /* * Froms is actually a bunch of unsigned shorts indexing tos */ -struct gmonparam _gmonparam = { GMON_PROF_OFF }; +struct gmonparam _gmonparam = { .state = GMON_PROF_OFF }; /* Actual start of the kernel text segment. */ extern char kernel_text[];