Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Apr 2006 02:03:04 GMT
From:      Tomas Olsson <tol@stacken.kth.se>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/95848: witness_levelall() in subr_witness.c should be #ifdef DDB
Message-ID:  <200604160203.k3G234Sq045901@www.freebsd.org>
Resent-Message-ID: <200604160210.k3G2AF39000437@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         95848
>Category:       kern
>Synopsis:       witness_levelall() in subr_witness.c should be #ifdef DDB
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 16 02:10:15 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Tomas Olsson
>Release:        RELENG_6
>Organization:
Stacken Computer Club
>Environment:
FreeBSD pytte.t.nxs.se 6.1-BETA3 FreeBSD 6.1-BETA3 #0: Thu Mar  2 11:03:41 UTC 2006     root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
Using a fresh cvsup:ed RELENG_6 sys tree with subr_witness.c 1.195.2.8, I get
./../../kern/subr_witness.c:1524: warning: 'witness_levelall' defined but not used
*** Error code 1

My config has
options         WITNESS
but not DDB.
>How-To-Repeat:
Configure kernel as above compile.
>Fix:
"#ifdef DDB" once or twice does the trick, as in HEAD.
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604160203.k3G234Sq045901>