OSDN Git Service

staging: nokia_h4p: fix %d confusingly prefixed with 0x in format string
authorHans Wennborg <hans@hanshq.net>
Mon, 4 Aug 2014 00:20:49 +0000 (17:20 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 16 Aug 2014 19:23:11 +0000 (12:23 -0700)
Signed-off-by: Hans Wennborg <hans@hanshq.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/nokia_h4p/nokia_core.c

index 775e1d0..240da0c 100644 (file)
@@ -1113,7 +1113,7 @@ static int hci_h4p_probe(struct platform_device *pdev)
                                    GPIOF_OUT_INIT_LOW, "bt_wakeup");
 
        if (err < 0) {
-               dev_err(info->dev, "Cannot get GPIO line 0x%d",
+               dev_err(info->dev, "Cannot get GPIO line 0x%x",
                        info->bt_wakeup_gpio);
                return err;
        }