Fix ioexpander/gpio_lower_half.c:302:23: warning: too many arguments for format

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2021-12-27 11:02:47 +08:00 committed by Xiang Xiao
parent c5aca37f8f
commit ab0f5f607d

View File

@ -299,7 +299,7 @@ static int gplh_enable(FAR struct gpio_dev_s *gpio, bool enable)
ret = IOEP_DETACH(priv->ioe, priv->handle);
if (ret < 0)
{
gpioerr("ERROR: pin%u: IOEP_DETACH() failed\n",
gpioerr("ERROR: pin%u: IOEP_DETACH() failed %d\n",
priv->pin, ret);
}