mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
examples/gpio/gpio_main.c: Fix a printf format warning
This commit is contained in:
parent
99884e40f1
commit
c5c327ab02
1 changed files with 1 additions and 1 deletions
|
|
@ -241,7 +241,7 @@ int main(int argc, FAR char *argv[])
|
|||
int errcode = errno;
|
||||
fprintf(stderr,
|
||||
"ERROR: Failed to write value %u from %s: %d\n",
|
||||
devpath, (unsigned int)outvalue, errcode);
|
||||
(unsigned int)outvalue, devpath, errcode);
|
||||
close(fd);
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue