Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/linux/common Fix compile error.



details:   https://anonhg.NetBSD.org/src/rev/a0adf2d8d0e3
branches:  trunk
changeset: 991313:a0adf2d8d0e3
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Mon Jul 09 05:43:35 2018 +0000

description:
Fix compile error.

diffstat:

 sys/compat/linux/common/linux_exec_elf32.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r a35fd8de88b3 -r a0adf2d8d0e3 sys/compat/linux/common/linux_exec_elf32.c
--- a/sys/compat/linux/common/linux_exec_elf32.c        Mon Jul 09 00:47:47 2018 +0000
+++ b/sys/compat/linux/common/linux_exec_elf32.c        Mon Jul 09 05:43:35 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_exec_elf32.c,v 1.95 2018/07/08 17:58:39 christos Exp $   */
+/*     $NetBSD: linux_exec_elf32.c,v 1.96 2018/07/09 05:43:35 msaitoh Exp $    */
 
 /*-
  * Copyright (c) 1995, 1998, 2000, 2001 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_exec_elf32.c,v 1.95 2018/07/08 17:58:39 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_exec_elf32.c,v 1.96 2018/07/09 05:43:35 msaitoh Exp $");
 
 #ifndef ELFSIZE
 /* XXX should die */
@@ -78,7 +78,7 @@
 #ifdef DEBUG_LINUX
 #define DPRINTF(a)     uprintf a
 #else
-#define DPRINTF(a)
+#define DPRINTF(a)     do {} while (0)
 #endif
 
 #ifdef LINUX_ATEXIT_SIGNATURE
@@ -313,7 +313,7 @@
                if (error)
                        goto out;
                if (!memcmp(tbuf, signature, sigsz)) {
-                       DPRINTF(("linux_goplcntab_sig=%s\n", tbuf);
+                       DPRINTF(("linux_goplcntab_sig=%s\n", tbuf));
                        break;
                }
        }



Home | Main Index | Thread Index | Old Index