Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/x86/x86 [syzkaller] Cast all the printf's to (void *)



details:   https://anonhg.NetBSD.org/src/rev/7b01593076bc
branches:  trunk
changeset: 357110:7b01593076bc
user:      utkarsh009 <utkarsh009%NetBSD.org@localhost>
date:      Fri Oct 27 09:59:15 2017 +0000

description:
[syzkaller] Cast all the printf's to (void *)
as a result of new printf(9) declaration.

diffstat:

 sys/arch/x86/x86/intr.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 8ebcef5b9ec6 -r 7b01593076bc sys/arch/x86/x86/intr.c
--- a/sys/arch/x86/x86/intr.c   Fri Oct 27 08:43:11 2017 +0000
+++ b/sys/arch/x86/x86/intr.c   Fri Oct 27 09:59:15 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: intr.c,v 1.103 2017/09/03 06:24:49 cherry Exp $        */
+/*     $NetBSD: intr.c,v 1.104 2017/10/27 09:59:16 utkarsh009 Exp $    */
 
 /*-
  * Copyright (c) 2007, 2008, 2009 The NetBSD Foundation, Inc.
@@ -133,7 +133,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.103 2017/09/03 06:24:49 cherry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.104 2017/10/27 09:59:16 utkarsh009 Exp $");
 
 #include "opt_intrdebug.h"
 #include "opt_multiprocessor.h"
@@ -1374,7 +1374,7 @@
        CPU_INFO_ITERATOR cii;
        void (*pr)(const char *, ...);
 
-       pr = printf;
+       pr = (void *)printf;
 #ifdef DDB
        extern int db_active;
        if (db_active) {



Home | Main Index | Thread Index | Old Index