Source-Changes-HG archive

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

[src/trunk]: src/sys/sys Add missing argument to kernhist_dump.



details:   https://anonhg.NetBSD.org/src/rev/79ec726a47c2
branches:  trunk
changeset: 344639:79ec726a47c2
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sat Apr 09 17:04:53 2016 +0000

description:
Add missing argument to kernhist_dump.

Hi nick!

diffstat:

 sys/sys/kernhist.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r c1929d4a4cc8 -r 79ec726a47c2 sys/sys/kernhist.h
--- a/sys/sys/kernhist.h        Sat Apr 09 17:02:51 2016 +0000
+++ b/sys/sys/kernhist.h        Sat Apr 09 17:04:53 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kernhist.h,v 1.11 2016/04/06 21:56:24 skrll Exp $      */
+/*     $NetBSD: kernhist.h,v 1.12 2016/04/09 17:04:53 riastradh Exp $  */
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -212,7 +212,7 @@
        unsigned int _kernhist_call = 0;
 
 #ifdef DDB
-#define KERNHIST_DUMP(NAME)    kernhist_dump(&NAME)
+#define KERNHIST_DUMP(NAME)    kernhist_dump(&NAME, printf)
 #else
 #define KERNHIST_DUMP(NAME)
 #endif



Home | Main Index | Thread Index | Old Index