Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/dev



Hi,

Building a kernel with DEBUG fails with the following error:

/home/ozaki-r/git/netbsd-src/sys/dev/dksubr.c: In function 'dk_dump':
/home/ozaki-r/git/netbsd-src/sys/dev/dksubr.c:671:11: error:
'DKF_DUMP' undeclared (first use in this function)
   DPRINTF(DKF_DUMP, ("%s: bad dump flags 0x%x\n", __func__,
           ^

Forgot to define DKF_DUMP or mistook for another macro?

  ozaki-r

On Thu, Oct 22, 2015 at 6:43 AM, Christos Zoulas <christos%netbsd.org@localhost> wrote:
> Module Name:    src
> Committed By:   christos
> Date:           Wed Oct 21 21:43:46 UTC 2015
>
> Modified Files:
>         src/sys/dev: dksubr.c
>
> Log Message:
> Fix dumping code (dk_dump):
>     - set DKF_TAKEDUMP on attach, otherwise we can never dump
>     - add DKF_DUMP debugging
>     - use __func__ instead of hard-coding names
>     - only allow dumps on swap partitions
>
>
> To generate a diff of this commit:
> cvs rdiff -u -r1.76 -r1.77 src/sys/dev/dksubr.c
>
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.
>


Home | Main Index | Thread Index | Old Index