summaryrefslogtreecommitdiff
path: root/sys/i386/linux/linux_sysvec.c
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1998-07-29 16:43:00 +0000
committerBruce Evans <bde@FreeBSD.org>1998-07-29 16:43:00 +0000
commite4e6ae1366ea79ed3c9b47580fac53bf8cf78651 (patch)
tree8cfcca3856bd98a68ff127631c2a7834aa06714d /sys/i386/linux/linux_sysvec.c
parente33e271f08dacb24a2764dd95be2a3471f3c5fe3 (diff)
Notes
Diffstat (limited to 'sys/i386/linux/linux_sysvec.c')
-rw-r--r--sys/i386/linux/linux_sysvec.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/i386/linux/linux_sysvec.c b/sys/i386/linux/linux_sysvec.c
index f63b9aa52a69..850263f9691b 100644
--- a/sys/i386/linux/linux_sysvec.c
+++ b/sys/i386/linux/linux_sysvec.c
@@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: linux_sysvec.c,v 1.29 1998/05/07 00:42:25 eivind Exp $
+ * $Id: linux_sysvec.c,v 1.30 1998/06/07 17:11:27 dfr Exp $
*/
/* XXX we use functions that might not exist. */
@@ -195,8 +195,8 @@ linux_sendsig(sig_t catcher, int sig, int mask, u_long code)
oonstack = psp->ps_sigstk.ss_flags & SS_ONSTACK;
#ifdef DEBUG
- printf("Linux-emul(%d): linux_sendsig(%8x, %d, %d, %ld)\n",
- p->p_pid, catcher, sig, mask, code);
+ printf("Linux-emul(%ld): linux_sendsig(%p, %d, %d, %lu)\n",
+ (long)p->p_pid, catcher, sig, mask, code);
#endif
/*
* Allocate space for the signal handler context.
@@ -309,7 +309,8 @@ linux_sigreturn(p, args)
regs = p->p_md.md_regs;
#ifdef DEBUG
- printf("Linux-emul(%d): linux_sigreturn(%8x)\n", p->p_pid, args->scp);
+ printf("Linux-emul(%ld): linux_sigreturn(%p)\n",
+ (long)p->p_pid, (void *)args->scp);
#endif
/*
* The trampoline code hands us the context.