diff options
Diffstat (limited to 'drivers/sgi')
-rw-r--r-- | drivers/sgi/char/streamable.c | 4 | ||||
-rw-r--r-- | drivers/sgi/char/usema.c | 16 |
2 files changed, 10 insertions, 10 deletions
diff --git a/drivers/sgi/char/streamable.c b/drivers/sgi/char/streamable.c index b07bedece..1f354d80f 100644 --- a/drivers/sgi/char/streamable.c +++ b/drivers/sgi/char/streamable.c @@ -52,14 +52,14 @@ get_sioc (struct strioctl *sioc, unsigned long arg) static int sgi_gfx_open (struct inode *inode, struct file *file) { - printk ("GFX: Opened by %ld\n", current->pid); + printk ("GFX: Opened by %d\n", current->pid); return 0; } static int sgi_gfx_close (struct inode *inode, struct file *file) { - printk ("GFX: Closed by %ld\n", current->pid); + printk ("GFX: Closed by %d\n", current->pid); return 0; } diff --git a/drivers/sgi/char/usema.c b/drivers/sgi/char/usema.c index 9ab379ed1..c9fbe87d4 100644 --- a/drivers/sgi/char/usema.c +++ b/drivers/sgi/char/usema.c @@ -67,7 +67,7 @@ sgi_usemaclone_ioctl(struct inode *inode, struct file *file, unsigned int cmd, struct irix_usema *usema = file->private_data; int retval; - printk("[%s:%ld] wants ioctl 0x%xd (arg 0x%lx)", + printk("[%s:%d] wants ioctl 0x%xd (arg 0x%lx)", current->comm, current->pid, cmd, arg); switch(cmd) { @@ -79,7 +79,7 @@ sgi_usemaclone_ioctl(struct inode *inode, struct file *file, unsigned int cmd, usattach_t *attach = (usattach_t *)arg; retval = verify_area(VERIFY_READ, attach, sizeof(usattach_t)); if (retval) { - printk("[%s:%ld] sgi_usema_ioctl(UIOCATTACHSEMA): " + printk("[%s:%d] sgi_usema_ioctl(UIOCATTACHSEMA): " "verify_area failure", current->comm, current->pid); return retval; @@ -87,7 +87,7 @@ sgi_usemaclone_ioctl(struct inode *inode, struct file *file, unsigned int cmd, if (usema == 0) return -EINVAL; - printk("UIOCATTACHSEMA: attaching usema %p to process %ld\n", + printk("UIOCATTACHSEMA: attaching usema %p to process %d\n", usema, current->pid); /* XXX what is attach->us_handle for? */ return sgi_usema_attach(attach, usema); @@ -101,12 +101,12 @@ sgi_usemaclone_ioctl(struct inode *inode, struct file *file, unsigned int cmd, retval = verify_area(VERIFY_READ, attach, sizeof(usattach_t)); if (retval) { - printk("[%s:%ld] sgi_usema_ioctl(UIOC*BLOCK): " + printk("[%s:%d] sgi_usema_ioctl(UIOC*BLOCK): " "verify_area failure", current->comm, current->pid); return retval; } - printk("UIOC*BLOCK: putting process %ld to sleep on usema %p", + printk("UIOC*BLOCK: putting process %d to sleep on usema %p", current->pid, usema); if (cmd == UIOCNOIBLOCK) interruptible_sleep_on(&usema->proc_list); @@ -121,13 +121,13 @@ sgi_usemaclone_ioctl(struct inode *inode, struct file *file, unsigned int cmd, retval = verify_area(VERIFY_READ, attach, sizeof(usattach_t)); if (retval) { - printk("[%s:%ld] sgi_usema_ioctl(UIOC*BLOCK): " + printk("[%s:%d] sgi_usema_ioctl(UIOC*BLOCK): " "verify_area failure", current->comm, current->pid); return retval; } - printk("[%s:%ld] releasing usema %p", + printk("[%s:%d] releasing usema %p", current->comm, current->pid, usema); wake_up(&usema->proc_list); return 0; @@ -141,7 +141,7 @@ sgi_usemaclone_poll(struct file *filp, poll_table *wait) { struct irix_usema *usema = filp->private_data; - printk("[%s:%ld] wants to poll usema %p", + printk("[%s:%d] wants to poll usema %p", current->comm, current->pid, usema); return 0; |