summaryrefslogtreecommitdiff
path: root/drivers/iio/chemical/sgp30.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/chemical/sgp30.c')
-rw-r--r--drivers/iio/chemical/sgp30.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/chemical/sgp30.c b/drivers/iio/chemical/sgp30.c
index 1029c457be15..2343d444604d 100644
--- a/drivers/iio/chemical/sgp30.c
+++ b/drivers/iio/chemical/sgp30.c
@@ -425,7 +425,7 @@ static int sgp_check_compat(struct sgp_data *data,
product = SGP_VERS_PRODUCT(data);
if (product != product_id) {
- dev_err(dev, "sensor reports a different product: 0x%04hx\n",
+ dev_err(dev, "sensor reports a different product: 0x%04x\n",
product);
return -ENODEV;
}