staging: speakup: fix printk format warning

Fix printk format warning:

drivers/staging/speakup/serialio.c:44: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'long unsigned int'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: <speakup@braille.uwo.ca>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Randy Dunlap 2010-10-13 13:10:49 -07:00 committed by Greg Kroah-Hartman
parent 6566961fcb
commit 0a652b9628
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ struct serial_state *spk_serial_init(int index)
__release_region(&ioport_resource, ser->port, 8);
err = synth_request_region(ser->port, 8);
if (err) {
pr_warn("Unable to allocate port at %x, errno %i", ser->port, err);
pr_warn("Unable to allocate port at %lx, errno %i", ser->port, err);
return NULL;
}
}