Skip to content

Commit

Permalink
[media] cx231xx: fix format string warning
Browse files Browse the repository at this point in the history
Change a %x to a %p since the variable is a pointer

Signed-off-by: Devin Heitmueller <dheitmueller@hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Devin Heitmueller authored and Mauro Carvalho Chehab committed Oct 21, 2010
1 parent 2bfcc06 commit dd067a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/video/cx231xx/cx231xx-417.c
Original file line number Diff line number Diff line change
Expand Up @@ -2010,7 +2010,7 @@ static int mpeg_release(struct file *file)
struct cx231xx_fh *fh = file->private_data;
struct cx231xx *dev = fh->dev;

dprintk(3, "mpeg_release()! dev=0x%x\n", dev);
dprintk(3, "mpeg_release()! dev=0x%p\n", dev);

if (!dev) {
dprintk(3, "abort!!!\n");
Expand Down

0 comments on commit dd067a8

Please sign in to comment.