Source-Changes-HG archive

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

[src/trunk]: src/lib/librumphijack add std dprint to fdcall



details:   https://anonhg.NetBSD.org/src/rev/334551d556ea
branches:  trunk
changeset: 761820:334551d556ea
user:      pooka <pooka%NetBSD.org@localhost>
date:      Tue Feb 08 12:20:11 2011 +0000

description:
add std dprint to fdcall

diffstat:

 lib/librumphijack/hijack.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r c96f9f02bf57 -r 334551d556ea lib/librumphijack/hijack.c
--- a/lib/librumphijack/hijack.c        Tue Feb 08 11:21:22 2011 +0000
+++ b/lib/librumphijack/hijack.c        Tue Feb 08 12:20:11 2011 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: hijack.c,v 1.32 2011/02/07 19:34:39 pooka Exp $       */
+/*      $NetBSD: hijack.c,v 1.33 2011/02/08 12:20:11 pooka Exp $       */
 
 /*-
  * Copyright (c) 2011 Antti Kantee.  All Rights Reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: hijack.c,v 1.32 2011/02/07 19:34:39 pooka Exp $");
+__RCSID("$NetBSD: hijack.c,v 1.33 2011/02/08 12:20:11 pooka Exp $");
 
 #define __ssp_weak_name(fun) _hijack_ ## fun
 
@@ -161,6 +161,7 @@
 {                                                                      \
        type (*fun) proto;                                              \
                                                                        \
+       DPRINTF(("%s -> %d\n", __STRING(name), fd));                    \
        if (fd_isrump(fd)) {                                            \
                fun = syscalls[rcname].bs_rump;                         \
                fd = fd_host2rump(fd);                                  \



Home | Main Index | Thread Index | Old Index