summaryrefslogtreecommitdiffstats
path: root/sys/alpha/linux/linux_sysvec.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-07-29 16:43:00 +0000
committerbde <bde@FreeBSD.org>1998-07-29 16:43:00 +0000
commit690e655ec2e48e3998b33a9edfaa8ba85ccce301 (patch)
tree0382f8bb92bd05d4a8a39e4964338e8258c11e8c /sys/alpha/linux/linux_sysvec.c
parent8498bf476458c5cbc1105a1c09b74a08eb911af3 (diff)
downloadFreeBSD-src-690e655ec2e48e3998b33a9edfaa8ba85ccce301.zip
FreeBSD-src-690e655ec2e48e3998b33a9edfaa8ba85ccce301.tar.gz
Fixed print format errors.
Diffstat (limited to 'sys/alpha/linux/linux_sysvec.c')
-rw-r--r--sys/alpha/linux/linux_sysvec.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/alpha/linux/linux_sysvec.c b/sys/alpha/linux/linux_sysvec.c
index f63b9aa..850263f 100644
--- a/sys/alpha/linux/linux_sysvec.c
+++ b/sys/alpha/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.
OpenPOWER on IntegriCloud