mirror of
https://github.com/apache/nuttx.git
synced 2026-05-18 08:54:05 +08:00
sensors/nau7802: Fix format warning
Silence format string warning by adding missing '%' sign. Signed-off-by: Matteo Golin <matteo.golin@gmail.com>
This commit is contained in:
@@ -688,7 +688,7 @@ static int nau7802_control(FAR struct sensor_lowerhalf_s *lower,
|
||||
|
||||
default:
|
||||
err = -EINVAL;
|
||||
snerr("Unknown command for NAU7802: lu\n", cmd);
|
||||
snerr("Unknown command for NAU7802: %d\n", cmd);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user